Class BuildHistory
java.lang.Object
com.github.weisj.jsvg.geometry.path.BuildHistory
When building a path from command segments, most need to cache information
(such as the point finished at) for future commands. This structure allows
that
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Point2D.Float(package private) final Point2D.Float(package private) final Point2D.Float(package private) final Point2D.Float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetLastCubic(@NotNull Point2D current, float x, float y) voidsetLastQuadratic(@NotNull Point2D point, float knotX, float knotY) voidsetLastQuadratic(@NotNull Point2D point, @NotNull Point2D knot) voidsetStartPoint(@NotNull Point2D point)
-
Field Details
-
startPoint
-
lastPoint
-
lastCubicKnot
-
lastQuadraticKnot
-
-
Constructor Details
-
BuildHistory
public BuildHistory()
-
-
Method Details
-
setStartPoint
-
setLast
-
setLastQuadratic
-
setLastQuadratic
-
setLastCubic
-