Class PathCommand
java.lang.Object
com.github.weisj.jsvg.geometry.path.PathCommand
- Direct Known Subclasses:
Arc
,Cubic
,CubicSmooth
,Horizontal
,LineTo
,MoveTo
,Quadratic
,QuadraticSmooth
,Terminal
,Vertical
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
PathCommand
(boolean isRelative, int nodeCount) protected
PathCommand
(int nodeCount) -
Method Summary
Modifier and TypeMethodDescriptionabstract void
appendPath
(@NotNull Path2D path, @NotNull BuildHistory hist) boolean
protected Point2D.Float
lastKnotReflection
(@NotNull BuildHistory hist) int
protected Point2D.Float
offset
(@NotNull BuildHistory hist)
-
Field Details
-
isRelative
private final boolean isRelative -
nodeCount
private final int nodeCount
-
-
Constructor Details
-
PathCommand
protected PathCommand(int nodeCount) -
PathCommand
protected PathCommand(boolean isRelative, int nodeCount)
-
-
Method Details
-
offset
-
lastKnotReflection
-
isRelative
public boolean isRelative() -
appendPath
-
nodeCount
public int nodeCount()
-