public class RectangleArea extends Object
A rectangle area specified with left position,top position,width and height.
Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
float |
getHeight()
Gets or sets a float value that indicates the height of the rectangle area.
|
float |
getLeft()
Gets or sets a float value that indicates the left position of the rectangle area.
|
float |
getTop()
Gets or sets a float value that indicates the top position of the rectangle area.
|
float |
getWidth()
Gets or sets a float value that indicates the width of the rectangle area.
|
void |
setHeight(float value) |
void |
setLeft(float value) |
void |
setTop(float value) |
void |
setWidth(float value) |
public RectangleArea()
Initializes a new instance of the RectangleArea
class.
public RectangleArea(float left, float top, float width, float height)
Initializes a new instance of the RectangleArea
class.
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.public float getLeft()
Gets or sets a float value that indicates the left position of the rectangle area.
public void setLeft(float value)
public float getTop()
Gets or sets a float value that indicates the top position of the rectangle area.
public void setTop(float value)
public float getWidth()
Gets or sets a float value that indicates the width of the rectangle area.
public void setWidth(float value)
public float getHeight()
Gets or sets a float value that indicates the height of the rectangle area.
public void setHeight(float value)
Copyright © 2016 Aspose. All Rights Reserved.