Package com.github.weisj.jsvg.nodes
Class AbstractPolyShape
- java.lang.Object
-
- com.github.weisj.jsvg.nodes.AbstractSVGNode
-
- com.github.weisj.jsvg.nodes.RenderableSVGNode
-
- com.github.weisj.jsvg.nodes.ShapeNode
-
- com.github.weisj.jsvg.nodes.AbstractPolyShape
-
- All Implemented Interfaces:
HasClip
,HasFillRule
,HasFilter
,HasFontContext
,HasGeometryContext
,HasGeometryContext.ByDelegate
,HasPaintContext
,HasShape
,HasVectorEffects
,Instantiator
,Renderable
,Transformable
,SVGNode
public abstract class AbstractPolyShape extends ShapeNode implements HasFillRule
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.github.weisj.jsvg.nodes.prototype.HasGeometryContext
HasGeometryContext.ByDelegate
-
Nested classes/interfaces inherited from interface com.github.weisj.jsvg.nodes.prototype.HasShape
HasShape.Box
-
-
Constructor Summary
Constructors Constructor Description AbstractPolyShape()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected @NotNull MeasurableShape
buildShape(@NotNull AttributeNode attributeNode)
protected abstract boolean
doClose()
@NotNull FillRule
fillRule()
-
Methods inherited from class com.github.weisj.jsvg.nodes.ShapeNode
build, canInstantiate, fontSpec, isVisible, paintContext, render, shape, shouldPaintStartEndMarkersInMiddle, untransformedElementBounds, untransformedElementShape, vectorEffects
-
Methods inherited from class com.github.weisj.jsvg.nodes.RenderableSVGNode
geometryContextDelegate
-
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.HasGeometryContext.ByDelegate
clipPath, filter, mask, transform, transformOrigin
-
Methods inherited from interface com.github.weisj.jsvg.nodes.prototype.HasShape
elementBounds, elementShape
-
Methods inherited from interface com.github.weisj.jsvg.nodes.prototype.Instantiator
createContextAttributes
-
Methods inherited from interface com.github.weisj.jsvg.nodes.prototype.Renderable
parseIsVisible, requiresInstantiation, shouldEstablishChildContext
-
Methods inherited from interface com.github.weisj.jsvg.nodes.prototype.Transformable
applyTransform, shouldTransform, transformShape
-
-
-
-
Field Detail
-
fillRule
private FillRule fillRule
-
-
Method Detail
-
fillRule
@NotNull public @NotNull FillRule fillRule()
- Specified by:
fillRule
in interfaceHasFillRule
-
buildShape
@NotNull protected final @NotNull MeasurableShape buildShape(@NotNull @NotNull AttributeNode attributeNode)
- Specified by:
buildShape
in classShapeNode
-
doClose
protected abstract boolean doClose()
-
-