DynamicPDF by ceTe Software

com.cete.dynamicpdf
Class AreaDimensions

java.lang.Object
  extended by com.cete.dynamicpdf.AreaDimensions
Direct Known Subclasses:
PageDimensions

public abstract class AreaDimensions
extends java.lang.Object

Represents the dimensions of an area.

Licensing:
This class is a DynamicPDF Generator Community Edition feature.


Method Summary
 Dimensions getBody()
          Gets the dimensions of the areas body.
 float getBottomMargin()
          Gets the bottom margin of the page dimensions.
 Dimensions getEdge()
          Gets the dimensions of the areas edge.
 float getHeight()
          Gets the height of the page dimensions.
 float getLeftMargin()
          Gets the left margin of the page dimensions.
 float getPdfX(float x)
          Returns the translated X coordinate.
 float getPdfY(float y)
          Gets the translated Y coordinate.
 float getRightMargin()
          Gets the right margin of the page dimensions.
 float getTopMargin()
          Gets the top margin of the page dimensions.
 float getWidth()
          Gets the width of the page dimensions.
 void setBottomMargin(float value)
          Sets the bottom margin of the page dimensions.
 void setHeight(float value)
          Sets the height of the page dimensions.
 void setLeftMargin(float value)
          Sets the left margin of the page dimensions.
 void setRightMargin(float value)
          Sets the right margin of the page dimensions.
 void setTopMargin(float value)
          Sets the top margin of the page dimensions.
 void setWidth(float value)
          Sets the width of the page dimensions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBody

public Dimensions getBody()
Gets the dimensions of the areas body.

Returns:
The dimensions of the areas body.

getEdge

public Dimensions getEdge()
Gets the dimensions of the areas edge.

Returns:
The dimensions of the areas edge.

getWidth

public float getWidth()
Gets the width of the page dimensions.

Returns:
the width of the page dimensions.

setWidth

public void setWidth(float value)
Sets the width of the page dimensions.

Parameters:
value - the width of the page dimensions.

getHeight

public float getHeight()
Gets the height of the page dimensions.

Returns:
the height of the page dimensions.

setHeight

public void setHeight(float value)
Sets the height of the page dimensions.

Parameters:
value - the height of the page dimensions.

getLeftMargin

public float getLeftMargin()
Gets the left margin of the page dimensions.

Returns:
the left margin of the page dimensions.

setLeftMargin

public void setLeftMargin(float value)
Sets the left margin of the page dimensions.

Parameters:
value - the left margin of the page dimensions.

getTopMargin

public float getTopMargin()
Gets the top margin of the page dimensions.

Returns:
the top margin of the page dimensions.

setTopMargin

public void setTopMargin(float value)
Sets the top margin of the page dimensions.

Parameters:
value - the top margin of the page dimensions.

getRightMargin

public float getRightMargin()
Gets the right margin of the page dimensions.

Returns:
the right margin of the page dimensions.

setRightMargin

public void setRightMargin(float value)
Sets the right margin of the page dimensions.

Parameters:
value - the right margin of the page dimensions.

getBottomMargin

public float getBottomMargin()
Gets the bottom margin of the page dimensions.

Returns:
the bottom margin of the page dimensions.

setBottomMargin

public void setBottomMargin(float value)
Sets the bottom margin of the page dimensions.

Parameters:
value - the bottom margin of the page dimensions.

getPdfY

public float getPdfY(float y)
Gets the translated Y coordinate.

Parameters:
y - Y coordinate to translate.
Returns:
A translated Y coordinate.

getPdfX

public float getPdfX(float x)
Returns the translated X coordinate.

Parameters:
x - X coordinate to translate.
Returns:
A translated X coordinate.

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.04 for Java generated on September 25, 2019
© Copyright 2019, ceTe Software