org.apache.fop.pdf
Class PDFRectangle
java.lang.Object
org.apache.fop.pdf.PDFRectangle
public class PDFRectangle
extends java.lang.Object
class representing a rectangle
Rectangles are specified on page 183 of the PDF 1.3 spec.
protected int | llx - lower left x coordinate
|
protected int | lly - lower left y coordinate
|
protected int | urx - upper right x coordinate
|
protected int | ury - upper right y coordinate
|
PDFRectangle(int llx, int lly, int urx, int ury) - create a rectangle giving the four separate values
|
PDFRectangle(int[] array) - create a rectangle giving an array of four values
|
byte[] | toPDF() - produce the PDF representation for the object
|
String | toPDFString() - Create a PDF string for this rectangle.
|
llx
protected int llx
lower left x coordinate
lly
protected int lly
lower left y coordinate
urx
protected int urx
upper right x coordinate
ury
protected int ury
upper right y coordinate
PDFRectangle
public PDFRectangle(int llx,
int lly,
int urx,
int ury)
create a rectangle giving the four separate values
llx
- lower left x coordinatelly
- lower left y coordinateurx
- upper right x coordinateury
- upper right y coordinate
PDFRectangle
public PDFRectangle(int[] array)
create a rectangle giving an array of four values
array
- values in the order llx, lly, urx, ury
toPDF
public byte[] toPDF()
produce the PDF representation for the object
toPDFString
public String toPDFString()
Create a PDF string for this rectangle.
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.