public class Bounds extends Object
Bounds complex type的 Java 类。
以下模式片段指定包含在此类中的预期内容。
<complexType name="Bounds">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="x" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
<attribute name="y" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
<attribute name="width" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
<attribute name="height" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
</restriction>
</complexContent>
</complexType>
| 限定符和类型 | 字段和说明 |
|---|---|
protected double |
height |
protected double |
width |
protected double |
x |
protected double |
y |
| 构造器和说明 |
|---|
Bounds() |
protected double x
protected double y
protected double width
protected double height
public double getX()
public void setX(double value)
public double getY()
public void setY(double value)
public double getWidth()
public void setWidth(double value)
public double getHeight()
public void setHeight(double value)
Copyright © 2022. All rights reserved.