public class Rectangle extends com.aspose.ms.lang.Struct<Rectangle>
Constructor and Description |
---|
Rectangle()
Instantiates a new Rectangle.
|
Rectangle(float x,
float y,
float width,
float height)
Creates a new instance of Rectangle
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
Rectangle |
Clone() |
void |
CloneTo(Rectangle that) |
boolean |
equals(Object obj) |
static boolean |
equals(Rectangle obj1,
Rectangle obj2)
Equals boolean.
|
float |
getHeight()
Gets or Sets Height of rectangle
|
float |
getWidth()
Gets or Sets Width of rectangle
|
float |
getX()
Gets or Sets X position of rectangle
|
float |
getY()
Gets or Sets Y position of rectangle
|
void |
setHeight(float value)
Gets or Sets Height of rectangle
|
void |
setWidth(float value)
Gets or Sets Width of rectangle
|
void |
setX(float value)
Gets or Sets X position of rectangle
|
void |
setY(float value)
Gets or Sets Y position of rectangle
|
public Rectangle()
public Rectangle(float x, float y, float width, float height)
Creates a new instance of Rectangle
x
- X position of rectangley
- Y position of Rectanglewidth
- Width of Rectangleheight
- Height of Rectanglepublic float getX()
Gets or Sets X position of rectangle
public void setX(float value)
Gets or Sets X position of rectangle
value
- the valuepublic float getY()
Gets or Sets Y position of rectangle
public void setY(float value)
Gets or Sets Y position of rectangle
value
- the valuepublic float getWidth()
Gets or Sets Width of rectangle
public void setWidth(float value)
Gets or Sets Width of rectangle
value
- the valuepublic float getHeight()
Gets or Sets Height of rectangle
public void setHeight(float value)
Gets or Sets Height of rectangle
value
- the valuepublic void CloneTo(Rectangle that)
CloneTo
in class com.aspose.ms.System.ValueType<Rectangle>
public Rectangle Clone()
Clone
in class com.aspose.ms.System.ValueType<Rectangle>
Copyright © 2018. All rights reserved.