Package com.datalogics.PDFL
Class LineTo
java.lang.Object
com.datalogics.PDFL.Segment
com.datalogics.PDFL.LineTo
A lineto operator, which draws a straight line. A lineto operator creates a line path element. It draws a straight line from the current position (MoveTo) to a new position-a new set of (x,y) coordinates: MoveTo{x:0 y:50}
LineTo{x:100 y:100}
-
Constructor Summary
ConstructorsConstructorDescriptionLineTo(double x, double y) Move to a new current point. Append a straight line segment from the current point to the point (x, y). The new current point is the point the line is drawn to.Create a line to a new point. Append a straight line segment from the current point to the lineToPoint. The new current point is the point the line is drawn to. -
Method Summary
-
Constructor Details
-
LineTo
Create a line to a new point. Append a straight line segment from the current point to the lineToPoint. The new current point is the point the line is drawn to. -
LineTo
public LineTo(double x, double y) Move to a new current point. Append a straight line segment from the current point to the point (x, y). The new current point is the point the line is drawn to.
-
-
Method Details