AutoShape — Aspose.Slides FOSS Java API 参考
概述
AutoShape 表示一个 AutoShape。它继承 GeometryShape 的完整公共接口,并可能在下表中添加额外的成员。通过包含父对象上公开的工厂方法或集合属性获取实例。请参阅包文档以获取安装说明以及相关类型的完整列表。
包: org.aspose.slides.foss
属性
| 属性 | 类型 | 访问 | 描述 |
|---|---|---|---|
shapeType | ShapeType | Read/Write | 形状类型值。 |
textFrame | ITextFrame | Read/Write | 文本框架值。 |
textBox | boolean | Read/Write | 文本框是否已启用。 |
asIGeometryShape | IGeometryShape | Read/Write | as i 几何形状值。 |
fillFormat | IFillFormat | Read/Write | 填充格式值。 |
方法
| Method | Returns | Description |
|---|---|---|
getShapeType() | ShapeType | {@inheritDoc} 检查自定义几何体 (<a:custGeom>),以及基类预设几何体查找。 |
setShapeType(ShapeType value) | void | {@inheritDoc} 在应用预设之前移除任何现有的自定义几何体 (<a:custGeom>),并清除现有 <a:prstGeom> 的子元素。 |
getTextFrame() | ITextFrame | 返回文本框架。 |
isTextBox() | boolean | 返回文本框标志是否已设置。 |
getAsIGeometryShape() | IGeometryShape | 返回 as i 几何形状。 |
addTextFrame(String text) | ITextFrame | 向此集合添加一个文本框架。 |
getFillFormat() | IFillFormat | {@inheritDoc} / |