DynamicPDF by ceTe Software

com.cete.dynamicpdf
Class InheritableDimensions

java.lang.Object
  extended by com.cete.dynamicpdf.Dimensions
      extended by com.cete.dynamicpdf.InheritableDimensions
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
AutoInheritableDimensions

public class InheritableDimensions
extends Dimensions

Represents the dimensions of a rectangle.


Constructor Summary
InheritableDimensions(float width, float height)
          Initializes a new instance of the InheritableDimensions structure.
InheritableDimensions(float left, float top, float right, float bottom)
          Initializes a new instance of the InheritableDimensions structure.
InheritableDimensions(PageSize size, PageOrientation orientation)
          Initializes a new instance of the InheritableDimensions structure.
 
Method Summary
 boolean getInherit()
          Gets the inherits the dimensions.
 Dimensions getInheritsFrom()
          Gets the inherits from the dimensions.
 void setInherit(boolean value)
          Sets the inherits the dimensions.
 
Methods inherited from class com.cete.dynamicpdf.Dimensions
getBottom, getHeight, getLeft, getRight, getTop, getWidth, setBottom, setHeight, setLeft, setRight, setTop, setWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InheritableDimensions

public InheritableDimensions(PageSize size,
                             PageOrientation orientation)
Initializes a new instance of the InheritableDimensions structure.

Parameters:
size - The page size of the dimensions in points (1/72 inches).
orientation - The orientation of the dimensions in points (1/72 inches).

InheritableDimensions

public InheritableDimensions(float width,
                             float height)
Initializes a new instance of the InheritableDimensions structure.

Parameters:
width - The width of the dimensions in points (1/72 inches).
height - The height of the dimensions in points (1/72 inches).

InheritableDimensions

public InheritableDimensions(float left,
                             float top,
                             float right,
                             float bottom)
Initializes a new instance of the InheritableDimensions structure.

Parameters:
left - The left edge of the dimensions in points (1/72 inches).
top - The top edge of the dimensions in points (1/72 inches).
right - The right edge of the dimensions in points (1/72 inches).
bottom - The bottom edge of the dimensions in points (1/72 inches).
Method Detail

getInherit

public boolean getInherit()
Gets the inherits the dimensions.

Returns:
the inherits the dimensions.

setInherit

public void setInherit(boolean value)
Sets the inherits the dimensions.

Parameters:
value - the inherits the dimensions.

getInheritsFrom

public Dimensions getInheritsFrom()
Gets the inherits from the dimensions.

Returns:
the inherits from the dimensions.

DynamicPDF by ceTe Software

API Reference for DynamicPDF v11.02 for Java generated on Sep 02, 2021
© Copyright 2021, ceTe Software