Package org.apache.poi.sl.draw.geom
Class CustomGeometry
- java.lang.Object
-
- org.apache.poi.sl.draw.geom.CustomGeometry
-
public final class CustomGeometry extends Object implements 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(Object o)
Path
getTextBounds()
int
hashCode()
Iterator<PathIf>
iterator()
void
setTextBounds(String left, String top, String right, String bottom)
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)
-
spliterator
public Spliterator<PathIf> spliterator()
- Specified by:
spliterator
in interfaceIterable<PathIf>
- Since:
- POI 5.2.0
-
getTextBounds
public Path getTextBounds()
-
-