public final class CustomGeometry extends java.lang.Object implements java.lang.Iterable<Path>
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>(为 CT_CustomGeometry2D 复杂类型定义自定义几何形状 Java 类。以下架构片段指定了此类中包含的预期内容。
Constructor and Description |
---|
CustomGeometry() |
Modifier and Type | Method and Description |
---|---|
void |
addAdjustGuide(AdjustValue guide) |
void |
addAdjustHandle(AdjustHandle handle) |
void |
addConnectionSite(ConnectionSite connection) |
void |
addGeomGuide(Guide guide) |
void |
addPath(Path path) |
boolean |
equals(java.lang.Object o) |
Path |
getTextBounds() |
int |
hashCode() |
java.util.Iterator<Path> |
iterator() |
void |
setTextBounds(java.lang.String left, java.lang.String top, java.lang.String right, java.lang.String bottom) |
public void addAdjustGuide(AdjustValue guide)
public void addGeomGuide(Guide guide)
public void addAdjustHandle(AdjustHandle handle)
public void addConnectionSite(ConnectionSite connection)
public void addPath(Path path)
public void setTextBounds(java.lang.String left, java.lang.String top, java.lang.String right, java.lang.String bottom)
public java.util.Iterator<Path> iterator()
iterator
in interface
java.lang.Iterable<Path>
(接口 java.lang.Iterable 中的迭代器
public Path getTextBounds()
public boolean equals(java.lang.Object o)
equals
in class
java.lang.Object
public int hashCode()
hashCode
in class
java.lang.Object
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.