aspose.pdf
Class RectangleArea

java.lang.Object
  extended by aspose.pdf.RectangleArea

public class RectangleArea
extends java.lang.Object

A rectangle area specified with left position, top position,width and height.


Constructor Summary
RectangleArea()
          Initializes a new instance of the RectangleArea class.
RectangleArea(float left, float top, float width, float height)
          Initializes a new instance of the RectangleArea class.
 
Method Summary
 float getHeight()
          Gets a float value that indicates the height of the rectangle area.
 float getLeft()
          Gets a float value that indicates the left position of the rectangle area.
 float getTop()
          Gets a float value that indicates the top position of the rectangle area.
 float getWidth()
          Gets a float value that indicates the width of the rectangle area.
 void setHeight(float value)
          Sets a float value that indicates the height of the rectangle
 void setLeft(float value)
          Sets a float value that indicates the left position of the rectangle area.
 void setTop(float value)
          Sets a float value that indicates the top position of the rectangle area.
 void setWidth(float value)
          Sets a float value that indicates the width of the rectangle area.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RectangleArea

public RectangleArea()
Initializes a new instance of the RectangleArea class.


RectangleArea

public RectangleArea(float left,
                     float top,
                     float width,
                     float height)
Initializes a new instance of the RectangleArea class.

Parameters:
left - The left position of the rectangle area.
top - The top position of the rectangle area.
width - The width of the rectangle area.
height - The height of the rectangle area.
Method Detail

getLeft

public float getLeft()
Gets a float value that indicates the left position of the rectangle area.

Returns:
a float value that indicates left position of the rectangle area.

setLeft

public void setLeft(float value)
Sets a float value that indicates the left position of the rectangle area.

Parameters:
value -

getTop

public float getTop()
Gets a float value that indicates the top position of the rectangle area.

Returns:
a float value that indicates the top position of the rectangle area.

setTop

public void setTop(float value)
Sets a float value that indicates the top position of the rectangle area.

Parameters:
value -

getWidth

public float getWidth()
Gets a float value that indicates the width of the rectangle area.

Returns:
a float value that indicates the width of the rectangle area.

setWidth

public void setWidth(float value)
Sets a float value that indicates the width of the rectangle area.

Parameters:
value -

getHeight

public float getHeight()
Gets a float value that indicates the height of the rectangle area.

Returns:
a float value that indicates the height of the rectangle

setHeight

public void setHeight(float value)
Sets a float value that indicates the height of the rectangle

Parameters:
value -