Class Marker
- All Implemented Interfaces:
Container<SVGNode>, HasClip, HasContext, HasContext.ByDelegate, HasFilter, HasFontContext, HasFontRenderContext, HasGeometryContext, HasGeometryContext.ByDelegate, HasPaintContext, Renderable, Transformable, SVGNode
@ElementCategories(Container)
@PermittedContent(categories={Animation,Descriptive,Shape,Structural,Gradient},
anyOf={Anchor.class,ClipPath.class,Filter.class,Image.class,Mask.class,Marker.class,Pattern.class,Style.class,Text.class,View.class})
public final class Marker
extends BaseInnerViewContainer
-
Nested Class Summary
Nested classes/interfaces inherited from interface HasContext
HasContext.ByDelegateNested classes/interfaces inherited from interface HasGeometryContext
HasGeometryContext.ByDelegate -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Lengthprivate MarkerUnitTypeprivate Lengthprivate MarkerOrientationprivate Lengthprivate Lengthstatic final StringFields inherited from class BaseInnerViewContainer
preserveAspectRatio, viewBox -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull Point2DanchorLocation(@NotNull MeasureContext context) voidbuild(@NotNull AttributeNode attributeNode) protected @NotNull RenderContextcreateInnerContext(@NotNull RenderContext context, @NotNull ViewBox viewBox) protected @NotNull Overflow@NotNull MarkerOrientationprotected @NotNull Point2DouterLocation(@NotNull MeasureContext context) booleanIndicated whether the element can only be rendered through means of instantiation e.g.@NotNull FloatSizesize(@NotNull RenderContext context) @NotNull StringtagName()Methods inherited from class BaseInnerViewContainer
render, renderWithCurrentViewBox, renderWithSize, renderWithSize, staticViewBox, viewBoxMethods inherited from class CommonRenderableContainerNode
children, contextDelegate, doAdd, geometryContextDelegate, isVisibleMethods inherited from class BaseContainerNode
acceptChild, addChild, isAcceptableTypeMethods inherited from class AbstractSVGNode
addContent, id, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Container
childrenOfTypeMethods inherited from interface HasContext.ByDelegate
fontRenderContext, fontSpec, paintContextMethods inherited from interface HasGeometryContext.ByDelegate
clipPath, filter, mask, transform, transformBox, transformOriginMethods inherited from interface Renderable
parseIsVisible, shouldEstablishChildContextMethods inherited from interface Transformable
applyTransform, effectiveTransform, shouldTransform, transformShape
-
Field Details
-
TAG
- See Also:
-
refX
-
refY
-
orientation
-
markerUnits
-
markerHeight
-
markerWidth
-
-
Constructor Details
-
Marker
public Marker()
-
-
Method Details
-
tagName
-
orientation
-
outerLocation
- Specified by:
outerLocationin classBaseInnerViewContainer
-
anchorLocation
- Specified by:
anchorLocationin classBaseInnerViewContainer
-
defaultOverflow
- Specified by:
defaultOverflowin classBaseInnerViewContainer
-
size
- Specified by:
sizein classBaseInnerViewContainer
-
build
- Specified by:
buildin interfaceSVGNode- Overrides:
buildin classBaseInnerViewContainer
-
requiresInstantiation
public boolean requiresInstantiation()Description copied from interface:RenderableIndicated 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.
-
createInnerContext
@NotNull protected @NotNull RenderContext createInnerContext(@NotNull @NotNull RenderContext context, @NotNull @NotNull ViewBox viewBox) - Overrides:
createInnerContextin classBaseInnerViewContainer
-