public class Canvas extends Object
Java class for canvas complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="canvas">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="height" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}short">
<minInclusive value="0"/>
</restriction>
</simpleType>
</attribute>
<attribute name="width" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}short">
<minInclusive value="0"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected short |
height |
protected short |
width |
| Constructor and Description |
|---|
Canvas() |
| Modifier and Type | Method and Description |
|---|---|
short |
getHeight()
Gets the value of the height property.
|
short |
getWidth()
Gets the value of the width property.
|
void |
setHeight(short value)
Sets the value of the height property.
|
void |
setWidth(short value)
Sets the value of the width property.
|
public short getHeight()
public void setHeight(short value)
public short getWidth()
public void setWidth(short value)
Copyright © 2018. All rights reserved.