Package sec.web.renderer.utilities
Class Path
java.lang.Object
sec.web.renderer.utilities.Path
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddashedLineTo(double x, double y) Adds a point to the path by drawing a straight line from the current coordinates to the new specified coordinates specifiedvoidlineTo(double x, double y) Adds a point to the path by drawing a straight line from the current coordinates to the new specified coordinates specifiedvoidmoveTo(double x, double y) Adds a point to the path by moving to the specified coordinates specifiedvoidsetLineDash(float[] dashArray) toSVGElement(String stroke, int strokeWidth, String fill, double strokeOpacity, double fillOpacity)
-
Constructor Details
-
Path
public Path()
-
-
Method Details
-
setLineDash
public void setLineDash(float[] dashArray) -
getBounds
-
moveTo
public void moveTo(double x, double y) Adds a point to the path by moving to the specified coordinates specified- Parameters:
x-y-
-
lineTo
public void 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 specified- Parameters:
x-y-
-
dashedLineTo
public void 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 specified- Parameters:
x-y-
-
toSVGElement
-