- 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 voidappendPath(@NotNull java.awt.geom.Path2D path, @NotNull BuildHistory hist)intnodeCount()java.lang.StringtoString()floatx()floaty()-
Methods inherited from class com.github.weisj.jsvg.geometry.path.PathCommand
isRelative, lastKnotReflectionCubic, lastKnotReflectionQuadratic, 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:
appendPathin classPathCommand
-
nodeCount
public int nodeCount()
- Overrides:
nodeCountin classPathCommand
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-