|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.sl.draw.binding.CTPath2D
public class CTPath2D
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>
Field Summary | |
---|---|
protected java.util.List<java.lang.Object> |
closeOrMoveToOrLnTo
|
protected java.lang.Boolean |
extrusionOk
|
protected STPathFillMode |
fill
|
protected java.lang.Long |
h
|
protected java.lang.Boolean |
stroke
|
protected java.lang.Long |
w
|
Constructor Summary | |
---|---|
CTPath2D()
|
Method Summary | |
---|---|
java.util.List<java.lang.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. |
long |
getW()
Gets the value of the w property. |
boolean |
isExtrusionOk()
Gets the value of the extrusionOk property. |
boolean |
isSetCloseOrMoveToOrLnTo()
|
boolean |
isSetExtrusionOk()
|
boolean |
isSetFill()
|
boolean |
isSetH()
|
boolean |
isSetStroke()
|
boolean |
isSetW()
|
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 |
setStroke(boolean value)
Sets the value of the stroke property. |
void |
setW(long value)
Sets the value of the w property. |
void |
unsetCloseOrMoveToOrLnTo()
|
void |
unsetExtrusionOk()
|
void |
unsetH()
|
void |
unsetStroke()
|
void |
unsetW()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List<java.lang.Object> closeOrMoveToOrLnTo
protected java.lang.Long w
protected java.lang.Long h
protected STPathFillMode fill
protected java.lang.Boolean stroke
protected java.lang.Boolean extrusionOk
Constructor Detail |
---|
public CTPath2D()
Method Detail |
---|
public java.util.List<java.lang.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
CTPath2DLineTo
CTPath2DClose
CTPath2DCubicBezierTo
CTPath2DQuadBezierTo
CTPath2DArcTo
CTPath2DMoveTo
public boolean isSetCloseOrMoveToOrLnTo()
public void unsetCloseOrMoveToOrLnTo()
public long getW()
Long
public void setW(long value)
value
- allowed object is
Long
public boolean isSetW()
public void unsetW()
public long getH()
Long
public void setH(long value)
value
- allowed object is
Long
public boolean isSetH()
public void unsetH()
public STPathFillMode getFill()
STPathFillMode
public void setFill(STPathFillMode value)
value
- allowed object is
STPathFillMode
public boolean isSetFill()
public boolean isStroke()
Boolean
public void setStroke(boolean value)
value
- allowed object is
Boolean
public boolean isSetStroke()
public void unsetStroke()
public boolean isExtrusionOk()
Boolean
public void setExtrusionOk(boolean value)
value
- allowed object is
Boolean
public boolean isSetExtrusionOk()
public void unsetExtrusionOk()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |