AutoShape

Přehled

AutoShape is a class in Aspose.Slides FOSS for Java. Inherits from: GeometryShape, IAutoShape.

IAutoShape je třída v Aspose.Slides FOSS pro Java. Vyrovnána od: ⌒GeometryShape’) ̋, ∂{plata1’ ̈).

Zobrazuje AutoShape.

Vlastnosti

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

Metody

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} / |
 Čeština