PDF Clown
0.0.8

it.stefanochizzolini.clown.documents.contents.objects
Class DrawLine

java.lang.Object
  extended by it.stefanochizzolini.clown.documents.contents.objects.ContentObject
      extended by it.stefanochizzolini.clown.documents.contents.objects.Operation
          extended by it.stefanochizzolini.clown.documents.contents.objects.DrawLine

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.0.8
Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)

Field Summary
static String Operator
           
 
Fields inherited from class it.stefanochizzolini.clown.documents.contents.objects.Operation
operands, operator
 
Constructor Summary
DrawLine(double pointX, double pointY)
           
DrawLine(List<PdfDirectObject> operands)
           
DrawLine(Point2D point)
           
 
Method Summary
 Point2D getPoint()
          Gets the final endpoint.
 void setPoint(Point2D value)
          Sets the final endpoint.
 
Methods inherited from class it.stefanochizzolini.clown.documents.contents.objects.Operation
get, getOperands, getOperator, toString, writeTo
 
Methods inherited from class it.stefanochizzolini.clown.documents.contents.objects.ContentObject
applyTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Operator

public static final String Operator
See Also:
Constant Field Values
Constructor Detail

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)
Method Detail

getPoint

public Point2D getPoint()
Gets the final endpoint.


setPoint

public void setPoint(Point2D value)
Sets the final endpoint.

See Also:
getPoint()

PDF Clown
0.0.8

Project home page

Copyright © 2006-2010 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.