PDF Clown
0.0.8

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

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.DrawRectangle

public final class DrawRectangle
extends Operation

'Append a rectangle to the current path as a complete subpath' operation [PDF:1.6:4.4.1].

Since:
0.0.4
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
DrawRectangle(double x, double y, double width, double height)
           
DrawRectangle(List<PdfDirectObject> operands)
           
 
Method Summary
 double getHeight()
           
 double getWidth()
           
 double getX()
           
 double getY()
           
 void setHeight(double value)
           
 void setWidth(double value)
           
 void setX(double value)
           
 void setY(double value)
           
 
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

DrawRectangle

public DrawRectangle(double x,
                     double y,
                     double width,
                     double height)

DrawRectangle

public DrawRectangle(List<PdfDirectObject> operands)
Method Detail

getHeight

public double getHeight()

getWidth

public double getWidth()

getX

public double getX()

getY

public double getY()

setHeight

public void setHeight(double value)
Since:
0.0.6

setWidth

public void setWidth(double value)
Since:
0.0.6

setX

public void setX(double value)
Since:
0.0.6

setY

public void setY(double value)
Since:
0.0.6

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.