Class LineTo
java.lang.Object
com.github.weisj.jsvg.geometry.path.PathCommand
com.github.weisj.jsvg.geometry.path.LineTo
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendPath(@NotNull Path2D path, @NotNull BuildHistory hist) inttoString()floatx()floaty()Methods inherited from class PathCommand
isRelative, lastKnotReflectionCubic, lastKnotReflectionQuadratic, offset
-
Field Details
-
x
private final float x -
y
private final float y
-
-
Constructor Details
-
LineTo
public LineTo(boolean isRelative, float x, float y)
-
-
Method Details
-
x
public float x() -
y
public float y() -
appendPath
- Specified by:
appendPathin classPathCommand
-
nodeCount
public int nodeCount()- Overrides:
nodeCountin classPathCommand
-
toString
-