- All Implemented Interfaces:
Container<SVGNode>
,HasClip
,HasContext
,HasContext.ByDelegate
,HasFillRule
,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 com.github.weisj.jsvg.nodes.prototype.HasContext
HasContext.ByDelegate
Nested classes/interfaces inherited from interface com.github.weisj.jsvg.nodes.prototype.HasGeometryContext
HasGeometryContext.ByDelegate
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Length
private MarkerUnitType
private Length
private MarkerOrientation
private Length
private Length
static final String
Fields inherited from class com.github.weisj.jsvg.nodes.container.BaseInnerViewContainer
preserveAspectRatio, viewBox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull Point2D
anchorLocation
(@NotNull MeasureContext context) void
build
(@NotNull AttributeNode attributeNode) protected @NotNull RenderContext
createInnerContext
(@NotNull RenderContext context, @NotNull ViewBox viewBox) protected @NotNull Overflow
@NotNull MarkerOrientation
protected @NotNull Point2D
outerLocation
(@NotNull MeasureContext context) boolean
Indicated whether the element can only be rendered through means of instantiation e.g.@NotNull FloatSize
size
(@NotNull RenderContext context) @NotNull String
tagName()
Methods inherited from class com.github.weisj.jsvg.nodes.container.BaseInnerViewContainer
render, renderWithCurrentViewBox, renderWithSize, renderWithSize, staticViewBox, viewBox
Methods inherited from class com.github.weisj.jsvg.nodes.container.CommonRenderableContainerNode
children, contextDelegate, doAdd, geometryContextDelegate, isVisible
Methods inherited from class com.github.weisj.jsvg.nodes.container.BaseContainerNode
acceptChild, addChild, isAcceptableType
Methods inherited from class com.github.weisj.jsvg.nodes.AbstractSVGNode
addContent, id, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.github.weisj.jsvg.nodes.prototype.Container
childrenOfType
Methods inherited from interface com.github.weisj.jsvg.nodes.prototype.HasContext.ByDelegate
fillRule, fontRenderContext, fontSpec, paintContext
Methods inherited from interface com.github.weisj.jsvg.nodes.prototype.HasGeometryContext.ByDelegate
clipPath, filter, mask, transform, transformOrigin
Methods inherited from interface com.github.weisj.jsvg.nodes.prototype.Renderable
parseIsVisible, shouldEstablishChildContext
Methods inherited from interface com.github.weisj.jsvg.nodes.prototype.Transformable
applyTransform, 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:
outerLocation
in classBaseInnerViewContainer
-
anchorLocation
- Specified by:
anchorLocation
in classBaseInnerViewContainer
-
defaultOverflow
- Specified by:
defaultOverflow
in classBaseInnerViewContainer
-
size
- Specified by:
size
in classBaseInnerViewContainer
-
build
- Specified by:
build
in interfaceSVGNode
- Overrides:
build
in classBaseInnerViewContainer
-
requiresInstantiation
public boolean requiresInstantiation()Description copied from interface:Renderable
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.
-
createInnerContext
@NotNull protected @NotNull RenderContext createInnerContext(@NotNull @NotNull RenderContext context, @NotNull @NotNull ViewBox viewBox) - Overrides:
createInnerContext
in classBaseInnerViewContainer
-