org.pdfclown.documents.contents.objects
Class DrawRectangle
java.lang.Object
org.pdfclown.documents.contents.objects.ContentObject
org.pdfclown.documents.contents.objects.Operation
org.pdfclown.documents.contents.objects.DrawRectangle
@PDF(value=PDF10)
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.1.2, 02/04/12
- Author:
- Stefano Chizzolini (http://www.stefanochizzolini.it)
Operator
public static final String Operator
- See Also:
- Constant Field Values
DrawRectangle
public DrawRectangle(double x,
double y,
double width,
double height)
DrawRectangle
public DrawRectangle(List<PdfDirectObject> operands)
getHeight
public double getHeight()
getWidth
public double getWidth()
getX
public double getX()
getY
public double getY()
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.
setHeight
public void setHeight(double value)
setWidth
public void setWidth(double value)
setX
public void setX(double value)
setY
public void setY(double value)
Project home page
Copyright © 2006-2013 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.