public final class Rectangle extends Shape
Represents rectangle.
Constructor and Description |
---|
Rectangle(float left,
float bottom,
float width,
float height)
Initializes a new instance of the
Rectangle class. |
Modifier and Type | Method and Description |
---|---|
float |
getBottom()
Gets or sets a float value that indicates the bottom position of the rectangle.
|
float |
getHeight()
Gets or sets a float value that indicates the height of the rectangle.
|
float |
getLeft()
Gets or sets a float value that indicates the left position of the rectangle.
|
float |
getWidth()
Gets or sets a float value that indicates the width of the rectangle.
|
void |
setBottom(float value) |
void |
setHeight(float value) |
void |
setLeft(float value) |
void |
setWidth(float value) |
getGraphInfo, setGraphInfo
public Rectangle(float left, float bottom, float width, float height)
Initializes a new instance of the Rectangle
class.
left
- The left position of the rectangle.bottom
- The bottom position of the rectangle.height
- The height of the rectangle.width
- The width of the rectangle.public float getLeft()
Gets or sets a float value that indicates the left position of the rectangle.
public void setLeft(float value)
public float getBottom()
Gets or sets a float value that indicates the bottom position of the rectangle.
public void setBottom(float value)
public float getWidth()
Gets or sets a float value that indicates the width of the rectangle.
public void setWidth(float value)
public float getHeight()
Gets or sets a float value that indicates the height of the rectangle.
public void setHeight(float value)
Copyright © 2017 Aspose. All Rights Reserved.