java.lang.Object
org.jhotdraw8.draw.render.SimpleRenderContext
- All Implemented Interfaces:
RenderContext,WritableRenderContext,ReadOnlyPropertyBean
-
Field Summary
Fields inherited from interface org.jhotdraw8.draw.render.RenderContext
CLIP_BOUNDS, DPI, MAX_NODES_PER_LAYER, RENDER_NUMBER_OF_PAGES, RENDER_PAGE, RENDER_PAGE_INTERNAL_NUMBER, RENDER_PAGE_NUMBER, RENDER_TIMESTAMP, RENDERING_INTENT, SYSTEM_COLOR_CONVERTER_KEY, UNIT_CONVERTER_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> @Nullable Tget(MapAccessor<T> key) Gets a property value.javafx.scene.NodeGets the JavaFX node which is used to render the specified figure by thisRenderContext.<T> TgetNonNull(NonNullMapAccessor<T> key) Gets a nonnull property value.<T> voidset(MapAccessor<T> key, @Nullable T value)
-
Constructor Details
-
SimpleRenderContext
public SimpleRenderContext()
-
-
Method Details
-
getNode
Description copied from interface:RenderContextGets the JavaFX node which is used to render the specified figure by thisRenderContext.- Specified by:
getNodein interfaceRenderContext- Parameters:
figure- The figure- Returns:
- The JavaFX node associated to the figure
-
getProperties
-
set
- Specified by:
setin interfaceWritableRenderContext
-
get
Gets a property value.- Specified by:
getin interfaceReadOnlyPropertyBean- Type Parameters:
T- the value type- Parameters:
key- the key- Returns:
- the value
-
getNonNull
Gets a nonnull property value.- Specified by:
getNonNullin interfaceReadOnlyPropertyBean- Type Parameters:
T- the value type- Parameters:
key- the key- Returns:
- the value
-