|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.fop.pdf.PDFRectangle
class representing a rectangle Rectangles are specified on page 183 of the PDF 1.3 spec.
| Field Summary | |
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 |
| Constructor Summary | |
PDFRectangle(int[] array)
create a rectangle giving an array of four values |
|
PDFRectangle(int llx,
int lly,
int urx,
int ury)
create a rectangle giving the four separate values |
|
| Method Summary | |
void |
outputInline(java.io.OutputStream out,
java.io.Writer writer)
Writes a "direct object" (inline object) representation to the stream. A Writer is given for optimized encoding of text content. Since the Writer is buffered, make sure flush() is called before any direct calls to out are made. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected int llx
protected int lly
protected int urx
protected int ury
| Constructor Detail |
public PDFRectangle(int llx,
int lly,
int urx,
int ury)
llx - lower left x coordinatelly - lower left y coordinateurx - upper right x coordinateury - upper right y coordinatepublic PDFRectangle(int[] array)
array - values in the order llx, lly, urx, ury| Method Detail |
public java.lang.String toString()
public void outputInline(java.io.OutputStream out,
java.io.Writer writer)
throws java.io.IOException
flush() is called before any direct calls to out are made.
outputInline in interface PDFWritableout - the OutputStream (for binary content)writer - the Writer (for text content, wraps the above OutputStream)
java.io.IOException - if an I/O error occurs
|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||