Package com.github.weisj.jsvg.geometry
Class SVGLine
java.lang.Object
com.github.weisj.jsvg.geometry.SVGLine
- All Implemented Interfaces:
MeasurableLength,MeasurableShape,SVGShape
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Rectangle2Dbounds(@NotNull RenderContext context, boolean validate) booleandoublepathLength(@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
shape, usesOptimizedBoundsCalculation
-
Constructor Details
-
SVGLine
-
-
Method Details
-
canBeFilled
public boolean canBeFilled()- Specified by:
canBeFilledin interfaceSVGShape
-
shape
-
bounds
@NotNull public @NotNull Rectangle2D bounds(@NotNull @NotNull RenderContext context, boolean validate) -
pathLength
- Specified by:
pathLengthin interfaceMeasurableLength
-