|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.foray.pdf.object.PDFRectangle
public class PDFRectangle
A PDF rectangle. Rectangles are specified on page 183 of the PDF 1.3 spec.
| Constructor Summary | |
|---|---|
PDFRectangle(int[] array)
Create a rectangle from an array of four values. |
|
PDFRectangle(int llx,
int lly,
int urx,
int ury)
Create a rectangle from its coordinates. |
|
| Method Summary | |
|---|---|
byte[] |
toPDF()
Produce the PDF representation for the object. |
String |
toPDFString()
Returns the description of the rectangle suitable for embedding in the PDF document. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PDFRectangle(int llx,
int lly,
int urx,
int ury)
llx - Lower left x coordinate.lly - Lower left y coordinate.urx - Upper right x coordinate.ury - Upper right y coordinate.public PDFRectangle(int[] array)
array - values in the order llx, lly, urx, ury| Method Detail |
|---|
public byte[] toPDF()
public String toPDFString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||