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) |
String |
toString() |
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 Rectangle Clone()
Clone
in class com.aspose.ms.System.ValueType<Rectangle>
public Object cloneSimple()
public void CloneTo(Rectangle that)
CloneTo
in class com.aspose.ms.System.ValueType<Rectangle>
public float getHeight()
public float getWidth()
public float getX()
public float getY()
public void setHeight(float value)
public void setWidth(float value)
public void setX(float value)
public void setY(float value)
Copyright © 2019. All rights reserved.