| 
 | DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cete.dynamicpdf.AreaDimensions
com.cete.dynamicpdf.PageDimensions
com.cete.dynamicpdf.ExtendedPageDimensions
public class ExtendedPageDimensions
Class represents the extended dimensions of a page.
Licensing:
This class is a DynamicPDF Generator Community Edition feature.
| Constructor Summary | |
|---|---|
| ExtendedPageDimensions(Dimensions edge,
                       Dimensions body)Initializes a new instance of the ExtendedPageDimensionsclass. | |
| ExtendedPageDimensions(Dimensions edge,
                       Dimensions bleedBox,
                       Dimensions trimBox,
                       Dimensions body)Initializes a new instance of the  ExtendedPageDimensionsclass. | |
| ExtendedPageDimensions(Dimensions mediaBox,
                       Dimensions cropBox,
                       Dimensions bleedBox,
                       Dimensions trimBox,
                       Dimensions artBox)Initializes a new instance of the ExtendedPageDimensionsclass. | |
| ExtendedPageDimensions(Dimensions mediaBox,
                       Dimensions cropBox,
                       Dimensions bleedBox,
                       Dimensions trimBox,
                       Dimensions artBox,
                       Dimensions body)Initializes a new instance of the ExtendedPageDimensionsclass. | |
| Method Summary | |
|---|---|
|  void | draw(DocumentWriter writer)Draws the page dimensions to the given DocumentWriterobject. | 
|  Dimensions | getArtBox()Gets the art box dimensions of the page. | 
|  Dimensions | getBleedBox()Gets the bleed box dimensions of the page. | 
|  Dimensions | getCropBox()Gets the crop box dimensions of the page. | 
|  Dimensions | getMediaBox()Gets the media box dimensions of the page. | 
|  float | getPdfY(float y)Gets the translated PDF y coordinate. | 
|  Dimensions | getTrimBox()Gets the trim box dimensions of the page. | 
| Methods inherited from class com.cete.dynamicpdf.PageDimensions | 
|---|
| setMargins, setMargins, setMargins | 
| Methods inherited from class com.cete.dynamicpdf.AreaDimensions | 
|---|
| getBody, getBottomMargin, getEdge, 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 | 
| 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 edge,
                              Dimensions bleedBox,
                              Dimensions trimBox,
                              Dimensions body)
 ExtendedPageDimensions class.
edge - Edge dimensions of the page.bleedBox - Bleed box dimensions of the page.trimBox - Trim box dimensions of the page.body - Body 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 Dimensions getMediaBox()
public Dimensions getArtBox()
public Dimensions getBleedBox()
public Dimensions getTrimBox()
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 | ||||||||