-
- All Known Implementing Classes:
AbstractPolyShape,Anchor,BaseInnerViewContainer,Circle,CommonInnerViewContainer,CommonRenderableContainerNode,Ellipse,Group,Image,Line,LinearTextContainer,Marker,Mask,Path,Pattern,Polygon,Polyline,Rect,RenderableSVGNode,ShapeNode,SVG,Symbol,Text,TextContainer,TextPath,TextSpan,Use
public interface Renderable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description booleanisVisible(@NotNull RenderContext context)default booleanparseIsVisible(@NotNull AttributeNode node)voidrender(@NotNull RenderContext context, @NotNull Output output)default booleanrequiresInstantiation()Indicated whether the element can only be rendered through means of instantiation e.g.default booleanshouldEstablishChildContext()
-
-
-
Method Detail
-
requiresInstantiation
default boolean requiresInstantiation()
Indicated whether the element can only be rendered through means of instantiation e.g. being referenced in a use tag. Instantiation doesn't create a new element it only controls, when an element can be rendered.- Returns:
- true if only rendered is instantiated.
-
shouldEstablishChildContext
default boolean shouldEstablishChildContext()
-
isVisible
boolean isVisible(@NotNull @NotNull RenderContext context)
-
render
void render(@NotNull @NotNull RenderContext context, @NotNull @NotNull Output output)
-
parseIsVisible
default boolean parseIsVisible(@NotNull @NotNull AttributeNode node)
-
-