|
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.Dimensions
public class Dimensions
Class provides the dimensions of a rectangle.
Licensing:
This
class is a DynamicPDF Generator Community Edition feature.
| Constructor Summary | |
|---|---|
Dimensions(float width,
float height)
Initializes a new instance of the Dimensions class. |
|
Dimensions(float left,
float top,
float right,
float bottom)
Initializes a new instance of the Dimensions class. |
|
Dimensions(PageSize size,
PageOrientation orientation)
Initializes a new instance of the Dimensions class. |
|
| Method Summary | |
|---|---|
float |
getBottom()
Gets the bottom edge of the dimensions. |
float |
getHeight()
Gets the height of the page dimensions. |
float |
getLeft()
Gets the left edge of the dimensions. |
float |
getRight()
Gets the right edge of the dimensions. |
float |
getTop()
Gets the top edge of the dimensions. |
float |
getWidth()
Gets the width of the dimensions. |
void |
setBottom(float value)
Sets the bottom edge of the dimensions. |
void |
setHeight(float value)
Sets the height of the page dimensions. |
void |
setLeft(float value)
Sets the left edge of the dimensions. |
void |
setRight(float value)
Sets the right edge of the dimensions. |
void |
setTop(float value)
Sets the top edge of the dimensions. |
void |
setWidth(float value)
Sets the width of the dimensions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Dimensions(PageSize size,
PageOrientation orientation)
Dimensions class.
size - The page size of the dimensions.orientation - The orientation of the dimensions.
public Dimensions(float width,
float height)
Dimensions class.
width - the width of the dimensions.height - the height of the dimensions.
public Dimensions(float left,
float top,
float right,
float bottom)
Dimensions class.
left - the left edge of the dimensions.top - the top edge of the dimensions.right - the right edge of the dimensions.bottom - the bottom edge of the dimensions.| Method Detail |
|---|
public void setWidth(float value)
value - the width of the dimensions.public float getWidth()
public void setHeight(float value)
value - the height of the page dimensions.public float getHeight()
public void setLeft(float value)
value - the left edge of the dimensions.public float getLeft()
public void setTop(float value)
value - the top edge of the dimensions.public float getTop()
public void setRight(float value)
value - the right edge of the dimensions.public float getRight()
public void setBottom(float value)
value - the bottom edge of the dimensions.public float getBottom()
|
DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||