Class LineTo
- java.lang.Object
-
- com.github.weisj.jsvg.geometry.path.PathCommand
-
- com.github.weisj.jsvg.geometry.path.LineTo
-
final class LineTo extends PathCommand
-
-
Constructor Summary
Constructors Constructor Description LineTo(boolean isRelative, float x, float y)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendPath(@NotNull java.awt.geom.Path2D path, @NotNull BuildHistory hist)
int
nodeCount()
java.lang.String
toString()
float
x()
float
y()
-
Methods inherited from class com.github.weisj.jsvg.geometry.path.PathCommand
isRelative, lastKnotReflection, offset
-
-
-
-
Method Detail
-
x
public float x()
-
y
public float y()
-
appendPath
public void appendPath(@NotNull @NotNull java.awt.geom.Path2D path, @NotNull @NotNull BuildHistory hist)
- Specified by:
appendPath
in classPathCommand
-
nodeCount
public int nodeCount()
- Overrides:
nodeCount
in classPathCommand
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-