org.pdfclown.documents.contents.objects
Class DrawLine
java.lang.Object
org.pdfclown.documents.contents.objects.ContentObject
org.pdfclown.documents.contents.objects.Operation
org.pdfclown.documents.contents.objects.DrawLine
@PDF(value=PDF10)
public final class DrawLine
- extends Operation
'Append a straight line segment from the current point' operation [PDF:1.6:4.4.1].
- Since:
- 0.0.7
- Version:
- 0.1.2, 02/04/12
- Author:
- Stefano Chizzolini (http://www.stefanochizzolini.it)
Operator
public static final String Operator
- See Also:
- Constant Field Values
DrawLine
public DrawLine(Point2D point)
- Parameters:
point
- Final endpoint.
DrawLine
public DrawLine(double pointX,
double pointY)
- Parameters:
pointX
- Final endpoint X.pointY
- Final endpoint Y.
DrawLine
public DrawLine(List<PdfDirectObject> operands)
getPoint
public Point2D getPoint()
- Gets the final endpoint.
scan
public void scan(ContentScanner.GraphicsState state)
- Description copied from class:
ContentObject
- Applies this object to the specified graphics context, updating the specified graphics state.
- Overrides:
scan
in class ContentObject
- Parameters:
state
- Graphics state.
setPoint
public void setPoint(Point2D value)
- Sets the final endpoint.
- See Also:
getPoint()
Project home page
Copyright © 2006-2013 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.