Package com.github.weisj.jsvg.geometry
Class AWTSVGShape<T extends Shape>
java.lang.Object
com.github.weisj.jsvg.geometry.AWTSVGShape<T>
- All Implemented Interfaces:
MeasurableLength,MeasurableShape,SVGShape
- Direct Known Subclasses:
FillRuleAwareAWTSVGShape
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Rectangle2Dbounds(@NotNull RenderContext context, boolean validate) doublepathLength(@NotNull MeasureContext measureContext) @NotNull Shapeshape(@NotNull RenderContext context, boolean validate) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.weisj.jsvg.geometry.SVGShape
canBeFilled, shape, usesOptimizedBoundsCalculation
-
Field Details
-
EMPTY_SHAPE
-
shape
-
-
Constructor Details
-
AWTSVGShape
-
-
Method Details
-
shape
-
bounds
@NotNull public @NotNull Rectangle2D bounds(@NotNull @NotNull RenderContext context, boolean validate) -
pathLength
- Specified by:
pathLengthin interfaceMeasurableLength
-