PDF Clown
0.1.2

org.pdfclown.documents.contents.objects
Class BeginSubpath

java.lang.Object
  extended by org.pdfclown.documents.contents.objects.ContentObject
      extended by org.pdfclown.documents.contents.objects.Operation
          extended by org.pdfclown.documents.contents.objects.BeginSubpath

@PDF(value=PDF10)
public final class BeginSubpath
extends Operation

'Begin a new subpath by moving 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)

Field Summary
static String Operator
           
 
Fields inherited from class org.pdfclown.documents.contents.objects.Operation
operands, operator
 
Constructor Summary
BeginSubpath(double pointX, double pointY)
           
BeginSubpath(List<PdfDirectObject> operands)
           
BeginSubpath(Point2D point)
           
 
Method Summary
 Point2D getPoint()
          Gets the current point.
 void scan(ContentScanner.GraphicsState state)
          Applies this object to the specified graphics context, updating the specified graphics state.
 void setPoint(Point2D value)
          Sets the current point.
 
Methods inherited from class org.pdfclown.documents.contents.objects.Operation
get, getOperands, getOperator, toString, writeTo
 
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

BeginSubpath

public BeginSubpath(Point2D point)
Parameters:
point - Current point.

BeginSubpath

public BeginSubpath(double pointX,
                    double pointY)
Parameters:
pointX - Current point X.
pointY - Current point Y.

BeginSubpath

public BeginSubpath(List<PdfDirectObject> operands)
Method Detail

getPoint

public Point2D getPoint()
Gets the current point.


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 current point.

See Also:
getPoint()

PDF Clown
0.1.2

Project home page

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