public class Rectangle extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="x" use="required" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="y" use="required" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="width" use="required" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="height" use="required" type="{http://www.w3.org/2001/XMLSchema}float" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected float |
height |
protected float |
width |
protected float |
x |
protected float |
y |
Constructor and Description |
---|
Rectangle() |
Modifier and Type | Method and Description |
---|---|
float |
getHeight()
Gets the value of the height property.
|
float |
getWidth()
Gets the value of the width property.
|
float |
getX()
Gets the value of the x property.
|
float |
getY()
Gets the value of the y property.
|
void |
setHeight(float value)
Sets the value of the height property.
|
void |
setWidth(float value)
Sets the value of the width property.
|
void |
setX(float value)
Sets the value of the x property.
|
void |
setY(float value)
Sets the value of the y property.
|
protected float x
protected float y
protected float width
protected float height
public 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)
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.