public class Rectangle extends com.aspose.ms.lang.Struct<Rectangle>
Rectangle for changes
Constructor and Description |
---|
Rectangle() |
Rectangle(float x,
float y,
float width,
float height)
Creates a new instance of Rectangle
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
Clone() |
Object |
cloneSimple() |
void |
CloneTo(Rectangle that) |
boolean |
equals(Object obj) |
static boolean |
equals(Rectangle obj1,
Rectangle obj2) |
float |
getHeight() |
float |
getWidth() |
float |
getX() |
float |
getY() |
int |
hashCode() |
void |
setHeight(float value) |
void |
setWidth(float value) |
void |
setX(float value) |
void |
setY(float value) |
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()
public void setX(float value)
public float getY()
public void setY(float value)
public float getWidth()
public void setWidth(float value)
public float getHeight()
public void setHeight(float value)
public 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>
public Object cloneSimple()
Copyright © 2018. All rights reserved.