Class Path
java.lang.Object
armyc2.c5isr.web.render.utilities.Path
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
dashedLineTo
(double x, double y) Adds a point to the path by drawing a straight line from the current coordinates to the new specified coordinates specifiedvoid
lineTo
(double x, double y) Adds a point to the path by drawing a straight line from the current coordinates to the new specified coordinates specifiedvoid
moveTo
(double x, double y) Adds a point to the path by moving to the specified coordinates specifiedvoid
setLineDash
(float[] dashArray) toSVGElement
(String stroke, int strokeWidth, String fill, double strokeOpacity, double fillOpacity)
-
Constructor Details
-
Path
public Path()
-
-
Method Details
-
setLineDash
-
getBounds
-
moveTo
Adds a point to the path by moving to the specified coordinates specified- Parameters:
x
-y
-
-
lineTo
Adds a point to the path by drawing a straight line from the current coordinates to the new specified coordinates specified- Parameters:
x
-y
-
-
dashedLineTo
Adds a point to the path by drawing a straight line from the current coordinates to the new specified coordinates specified- Parameters:
x
-y
-
-
toSVGElement
public String toSVGElement(String stroke, int strokeWidth, String fill, double strokeOpacity, double fillOpacity)
-