|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.cete.dynamicpdf.AreaDimensions
|
+--com.cete.dynamicpdf.PageDimensions
|
+--com.cete.dynamicpdf.ExtendedPageDimensions
Class represents the extended dimensions of a page.
| Field Summary | |
Dimensions |
artBox
Represents the dimensions of the pages art box. |
Dimensions |
bleedBox
Represents the dimensions of the pages bleed box. |
Dimensions |
mediaBox
Represents the dimensions of the pages media box. |
Dimensions |
trimBox
Represents the dimensions of the pages trim box. |
| Fields inherited from class com.cete.dynamicpdf.AreaDimensions |
body, edge |
| Constructor Summary | |
ExtendedPageDimensions(Dimensions edge,
Dimensions body)
Initializes a new instance of the ExtendedPageDimensions class. |
|
ExtendedPageDimensions(Dimensions mediaBox,
Dimensions cropBox,
Dimensions bleedBox,
Dimensions trimBox,
Dimensions artBox)
Initializes a new instance of the ExtendedPageDimensions class. |
|
ExtendedPageDimensions(Dimensions mediaBox,
Dimensions cropBox,
Dimensions bleedBox,
Dimensions trimBox,
Dimensions artBox,
Dimensions body)
Initializes a new instance of the ExtendedPageDimensions class. |
|
| Method Summary | |
void |
draw(DocumentWriter writer)
Draws the page dimensions to the given DocumentWriter object. |
Dimensions |
getCropBox()
Gets the crop box dimensions of the page. |
float |
getPdfY(float y)
Gets the translated PDF y coordinate. |
| Methods inherited from class com.cete.dynamicpdf.PageDimensions |
setMargins, setMargins, setMargins |
| Methods inherited from class com.cete.dynamicpdf.AreaDimensions |
getBottomMargin, getHeight, getLeftMargin, getPdfX, getRightMargin, getTopMargin, getWidth, setBottomMargin, setHeight, setLeftMargin, setRightMargin, setTopMargin, setWidth |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public Dimensions mediaBox
public Dimensions bleedBox
public Dimensions trimBox
public Dimensions artBox
| Constructor Detail |
public ExtendedPageDimensions(Dimensions edge,
Dimensions body)
ExtendedPageDimensions class.
edge - Edge dimensions of the page.body - Body dimensions of the page.ExtendedPageDimensions
public ExtendedPageDimensions(Dimensions mediaBox,
Dimensions cropBox,
Dimensions bleedBox,
Dimensions trimBox,
Dimensions artBox)
ExtendedPageDimensions class.
mediaBox - Media box dimensions of the page.cropBox - Crop box dimensions of the page.bleedBox - Bleed dimensions of the page.trimBox - Trim dimensions of the page.artBox - Art box dimensions of the page.ExtendedPageDimensions
public ExtendedPageDimensions(Dimensions mediaBox,
Dimensions cropBox,
Dimensions bleedBox,
Dimensions trimBox,
Dimensions artBox,
Dimensions body)
ExtendedPageDimensions class.
mediaBox - Media box dimensions of the page.cropBox - Crop box dimensions of the page.bleedBox - Bleed dimensions of the page.trimBox - Trim dimensions of the page.artBox - Art box dimensions of the page.body - Body dimensions of the page.ExtendedPageDimensions| Method Detail |
public Dimensions getCropBox()
public void draw(DocumentWriter writer)
DocumentWriter object.
draw in class PageDimensionswriter - DocumentWriter to receive the page dimensions output.DocumentWriterpublic float getPdfY(float y)
getPdfY in class PageDimensionsy - Y coordinate to translate.
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||