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 voidaddAdjustGuide(AdjustValueIf guide)voidaddAdjustHandle(AdjustHandle handle)voidaddConnectionSite(ConnectionSiteIf connection)voidaddGeomGuide(GuideIf guide)voidaddPath(PathIf path)booleanequals(Object o)PathgetTextBounds()inthashCode()Iterator<PathIf>iterator()voidsetTextBounds(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:
spliteratorin interfaceIterable<PathIf>- Since:
- POI 5.2.0
-
getTextBounds
public Path getTextBounds()
-
-