Package org.apache.poi.sl.draw.geom
Class CustomGeometry
- java.lang.Object
-
- org.apache.poi.sl.draw.geom.CustomGeometry
-
- All Implemented Interfaces:
java.lang.Iterable<PathIf>
public final class CustomGeometry extends java.lang.Object implements java.lang.Iterable<PathIf>
Definition of a custom geometric shapeJava class for CT_CustomGeometry2D complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_CustomGeometry2D"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="avLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_GeomGuideList" minOccurs="0"/> <element name="gdLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_GeomGuideList" minOccurs="0"/> <element name="ahLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_AdjustHandleList" minOccurs="0"/> <element name="cxnLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_ConnectionSiteList" minOccurs="0"/> <element name="rect" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_GeomRect" minOccurs="0"/> <element name="pathLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Path2DList"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description CustomGeometry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAdjustGuide(AdjustValueIf guide)
void
addAdjustHandle(AdjustHandle handle)
void
addConnectionSite(ConnectionSiteIf connection)
void
addGeomGuide(GuideIf guide)
void
addPath(PathIf path)
boolean
equals(java.lang.Object o)
Path
getTextBounds()
int
hashCode()
java.util.Iterator<PathIf>
iterator()
void
setTextBounds(java.lang.String left, java.lang.String top, java.lang.String right, java.lang.String bottom)
java.util.Spliterator<PathIf>
spliterator()
-
-
-
Method Detail
-
addAdjustGuide
public void addAdjustGuide(AdjustValueIf guide)
-
addGeomGuide
public void addGeomGuide(GuideIf guide)
-
addAdjustHandle
public void addAdjustHandle(AdjustHandle handle)
-
addConnectionSite
public void addConnectionSite(ConnectionSiteIf connection)
-
addPath
public void addPath(PathIf path)
-
setTextBounds
public void setTextBounds(java.lang.String left, java.lang.String top, java.lang.String right, java.lang.String bottom)
-
iterator
public java.util.Iterator<PathIf> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<PathIf>
-
spliterator
public java.util.Spliterator<PathIf> spliterator()
- Specified by:
spliterator
in interfacejava.lang.Iterable<PathIf>
- Since:
- POI 5.2.0
-
getTextBounds
public Path getTextBounds()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-