public class CTPath2D extends Object implements Child
Java class for CT_Path2D complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Path2D">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice maxOccurs="unbounded" minOccurs="0">
<element name="close" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Path2DClose"/>
<element name="moveTo" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Path2DMoveTo"/>
<element name="lnTo" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Path2DLineTo"/>
<element name="arcTo" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Path2DArcTo"/>
<element name="quadBezTo" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Path2DQuadBezierTo"/>
<element name="cubicBezTo" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Path2DCubicBezierTo"/>
</choice>
<attribute name="w" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_PositiveCoordinate" default="0" />
<attribute name="h" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_PositiveCoordinate" default="0" />
<attribute name="fill" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_PathFillMode" default="norm" />
<attribute name="stroke" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="extrusionOk" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
closeOrMoveToOrLnTo |
protected Boolean |
extrusionOk |
protected STPathFillMode |
fill |
protected Long |
h |
protected Boolean |
stroke |
protected Long |
w |
| Constructor and Description |
|---|
CTPath2D() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterUnmarshal(Unmarshaller unmarshaller,
Object parent)
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
|
List<Object> |
getCloseOrMoveToOrLnTo()
Gets the value of the closeOrMoveToOrLnTo property.
|
STPathFillMode |
getFill()
Gets the value of the fill property.
|
long |
getH()
Gets the value of the h property.
|
Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
long |
getW()
Gets the value of the w property.
|
boolean |
isExtrusionOk()
Gets the value of the extrusionOk property.
|
boolean |
isStroke()
Gets the value of the stroke property.
|
void |
setExtrusionOk(Boolean value)
Sets the value of the extrusionOk property.
|
void |
setFill(STPathFillMode value)
Sets the value of the fill property.
|
void |
setH(Long value)
Sets the value of the h property.
|
void |
setParent(Object parent) |
void |
setStroke(Boolean value)
Sets the value of the stroke property.
|
void |
setW(Long value)
Sets the value of the w property.
|
protected Long w
protected Long h
protected STPathFillMode fill
protected Boolean stroke
protected Boolean extrusionOk
public List<Object> getCloseOrMoveToOrLnTo()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the closeOrMoveToOrLnTo property.
For example, to add a new item, do as follows:
getCloseOrMoveToOrLnTo().add(newItem);
Objects of the following type(s) are allowed in the list
CTPath2DClose
CTPath2DMoveTo
CTPath2DLineTo
CTPath2DArcTo
CTPath2DQuadBezierTo
CTPath2DCubicBezierTo
public long getW()
Longpublic void setW(Long value)
value - allowed object is
Longpublic long getH()
Longpublic void setH(Long value)
value - allowed object is
Longpublic STPathFillMode getFill()
STPathFillModepublic void setFill(STPathFillMode value)
value - allowed object is
STPathFillModepublic boolean isStroke()
Booleanpublic void setStroke(Boolean value)
value - allowed object is
Booleanpublic boolean isExtrusionOk()
Booleanpublic void setExtrusionOk(Boolean value)
value - allowed object is
Booleanpublic Object getParent()
public void afterUnmarshal(Unmarshaller unmarshaller, Object parent)
parent - The parent object in the object tree.unmarshaller - The unmarshaller that generated the instance.Copyright © 2007-2021. All Rights Reserved.