AutoShape

المعلومات العامة

AutoShape هي فئة في Aspose.Slides FOSS لـ Java. وراثية من: ゚GeometryShape⌒, ヽIAutoShape▽ .

يمثل AutoShape.

خصائص

NameTypeAccessDescription
shapeTypeShapeTypeReadProperty gets or sets the shape’s ShapeType, handling custom geometry
textFrameITextFrameReadProperty provides access to the shape’s ITextFrame
textBoxbooleanReadProperty indicates if the shape is a text box
asIGeometryShapeIGeometryShapeReadProperty returns the shape as an IGeometryShape
fillFormatIFillFormatReadProperty provides the IFillFormat for the shape’s fill

الطرق

SignatureDescription
AutoShape(xmlElement: Element, saveCallback: Runnable)Creates an AutoShape backed by the given XML element.
AutoShape()Creates an AutoShape with no backing element.
getShapeType()ShapeType{@inheritDoc}

Checks for custom geometry ({@code }) in addition to the base class preset geometry lookup.

/ | | `setShapeType(value: ShapeType)` | {@inheritDoc}

Removes any existing custom geometry ({@code }) before applying the preset, and clears children of an existing {@code }.

/ | | `getTextFrame()` → `ITextFrame` | Returns the ITextFrame associated with the shape | | `isTextBox()` → `boolean` | Indicates whether the shape functions as a text box | | `getAsIGeometryShape()` → `IGeometryShape` | Returns the shape as an IGeometryShape interface | | `addTextFrame(text: String)` → `ITextFrame` | Adds a text frame with the given text and returns it | | `getFillFormat()` → `IFillFormat` | {@inheritDoc} / |
 العربية