Class 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 shape

    Java 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 Detail

      • CustomGeometry

        public CustomGeometry()
    • 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 interface java.lang.Iterable<PathIf>
      • spliterator

        public java.util.Spliterator<PathIf> spliterator()
        Specified by:
        spliterator in interface java.lang.Iterable<PathIf>
        Since:
        POI 5.2.0
      • getTextBounds

        public Path getTextBounds()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object