public class Line extends Object
Java class for line complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="line">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="color" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<pattern value="[0-9a-fA-F]{8}"/>
</restriction>
</simpleType>
</attribute>
<attribute name="width" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
<minInclusive value="0.0"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
color |
protected BigDecimal |
width |
| Constructor and Description |
|---|
Line() |
| Modifier and Type | Method and Description |
|---|---|
String |
getColor()
Gets the value of the color property.
|
BigDecimal |
getWidth()
Gets the value of the width property.
|
void |
setColor(String value)
Sets the value of the color property.
|
void |
setWidth(BigDecimal value)
Sets the value of the width property.
|
protected String color
protected BigDecimal width
public String getColor()
Stringpublic void setColor(String value)
value - allowed object is
Stringpublic BigDecimal getWidth()
BigDecimalpublic void setWidth(BigDecimal value)
value - allowed object is
BigDecimalCopyright © 2018. All rights reserved.