IGeometryShape
Panoramica
IGeometryShape è un’interfaccia in Aspose.Slides FOSS per Java. Eredita da: IShape.
Rappresenta una forma con geometria (predefinita o personalizzata).
Questa interfaccia fornisce 45 metodi per lavorare con oggetti IGeometryShape nei programmi Java. I metodi disponibili includono: asIPresentationComponent, getAdjustments, getAlternativeText, getAlternativeTextTitle, getAsISlideComponent, getCNvPr, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight e 33 metodi aggiuntivi. Tutti i membri pubblici sono accessibili a qualsiasi applicazione Java dopo l’installazione del pacchetto Aspose.Slides FOSS per Java. Proprietà: adjustments, alternativeText, alternativeTextTitle, asISlideComponent, cNvPr, connectionSiteCount e 25 altre.
Proprietà
| Nome | Tipo | Accesso | Descrizione |
|---|---|---|---|
shapeStyle | IShapeStyle | Lettura | Restituisce l’oggetto di stile della forma. |
adjustments | IAdjustValueCollection | Lettura | Ottiene la collezione dei valori di aggiustamento della forma. |
textHolder | boolean | Lettura | Determina se la forma è un contenitore di testo. |
placeholder | IPlaceholder | Lettura | Restituisce il segnaposto per questa forma. |
customData | ICustomData | Lettura | Restituisce i dati personalizzati della forma. |
rawFrame | IShapeFrame | Lettura | Restituisce le proprietà grezze del frame della forma. |
frame | IShapeFrame | Lettura | Restituisce le proprietà del frame della forma. |
lineFormat | ILineFormat | Lettura | Restituisce il formato della linea per questa forma. |
threeDFormat | IThreeDFormat | Lettura | Restituisce il formato 3-D per questa forma. |
effectFormat | IEffectFormat | Lettura | Restituisce il formato effetto per questa forma. |
fillFormat | IFillFormat | Lettura | Restituisce il formato di riempimento per questa forma. |
hidden | boolean | Lettura | Determina se la forma è nascosta. |
zOrderPosition | int | Lettura | Restituisce la posizione di una forma nella z-order. |
connectionSiteCount | int | Lettura | Restituisce il numero di punti di connessione sulla forma. |
rotation | double | Lettura | Restituisce l’angolo di rotazione della forma in gradi. |
x | double | Lettura | Ottiene la coordinata x dell’angolo superiore sinistro della forma, in punti. |
y | double | Lettura | Restituisce la coordinata y dell’angolo superiore sinistro della forma, in punti. |
width | double | Lettura | Restituisce la larghezza della forma, in punti. |
height | double | Lettura | Ottiene l’altezza della forma, in punti. |
alternativeText | String | Lettura | Restituisce o imposta il testo alternativo associato a una forma. |
alternativeTextTitle | String | Lettura | Restituisce o imposta il titolo del testo alternativo associato a una forma. |
name | String | Lettura | Restituisce o imposta il nome di una forma. |
decorative | boolean | Lettura | Ottiene o imposta l’opzione Mark as decorative. |
uniqueId | int | Lettura | Restituisce un identificatore interno, limitato alla presentazione. |
officeInteropShapeId | int | Lettura | Restituisce un identificatore univoco limitato alla diapositiva che rimane costante per tutta la durata della forma. |
grouped | boolean | Lettura | Determina se la forma è raggruppata. |
asISlideComponent | ISlideComponent | Lettura | Consente di ottenere l’interfaccia di base {@link ISlideComponent}. |
shapeType | ShapeType | Lettura | Ottiene il tipo AutoShape. |
cNvPr | Element | Lettura | Restituisce l’elemento {@code cNvPr} per questa forma, oppure {@code null}. |
slide | IBaseSlide | Lettura | Restituisce la diapositiva genitore. |
presentation | IPresentation | Lettura | Restituisce la presentazione che contiene questo componente. |
Metodi
| Firma | Descrizione |
|---|---|
getShapeStyle() → IShapeStyle | Restituisce l’oggetto stile della forma. |
setShapeType(value: ShapeType) | Imposta il tipo AutoShape. |
getAdjustments() → IAdjustValueCollection | Ottiene la raccolta dei valori di aggiustamento della forma. |
isTextHolder() → boolean | Determina se la forma è un contenitore di testo. |
getPlaceholder() → IPlaceholder | Restituisce il segnaposto per questa forma. |
getCustomData() → ICustomData | Restituisce i dati personalizzati della forma. |
getRawFrame() → IShapeFrame | Restituisce le proprietà grezze del frame della forma. |
setRawFrame(value: IShapeFrame) | Imposta le proprietà del frame della forma grezza. |
getFrame() → IShapeFrame | Restituisce le proprietà del frame della forma. |
setFrame(value: IShapeFrame) | Imposta le proprietà del frame della forma. |
getLineFormat() → ILineFormat | Restituisce il formato della linea per questa forma. |
getThreeDFormat() → IThreeDFormat | Restituisce il formato 3-D per questa forma. |
getEffectFormat() → IEffectFormat | Restituisce il formato dell’effetto per questa forma. |
getFillFormat() → IFillFormat | Restituisce il formato di riempimento per questa forma. |
isHidden() → boolean | Determina se la forma è nascosta. |
setHidden(value: boolean) | Imposta se la forma è nascosta. |
getZOrderPosition() → int | Restituisce la posizione di una forma nell’ordine Z. |
getConnectionSiteCount() → int | Restituisce il numero di punti di connessione sulla forma. |
getRotation() → double | Restituisce l’angolo di rotazione della forma in gradi. |
setRotation(rotation: double) | Imposta l’angolo di rotazione della forma in gradi. |
getX() → double | Ottiene la coordinata x dell’angolo superiore sinistro della forma, in punti. |
setX(x: double) | Imposta la coordinata x dell’angolo superiore sinistro della forma, in punti. |
getY() → double | Restituisce la coordinata y dell’angolo superiore sinistro della forma, in punti. |
setY(y: double) | Imposta la coordinata y dell’angolo superiore sinistro della forma, in punti. |
getWidth() → double | Ottiene la larghezza della forma, in punti. |
setWidth(width: double) | Imposta la larghezza della forma, in punti. |
getHeight() → double | Ottiene l’altezza della forma, in punti. |
setHeight(height: double) | Imposta l’altezza della forma, in punti. |
getAlternativeText() → String | Restituisce o imposta il testo alternativo associato a una forma. |
setAlternativeText(value: String) | Imposta il testo alternativo associato a una forma. |
getAlternativeTextTitle() → String | Restituisce o imposta il titolo del testo alternativo associato a una forma. |
setAlternativeTextTitle(value: String) | Imposta il titolo del testo alternativo associato a una forma. |
getName() → String | Restituisce o imposta il nome di una forma. |
setName(value: String) | Imposta il nome di una forma. |
isDecorative() → boolean | Ottiene o imposta l’opzione Mark as decorative. |
setDecorative(value: boolean) | Imposta l’opzione Mark as decorative. |
getUniqueId() → int | Restituisce un identificatore interno, a livello di presentazione. |
getOfficeInteropShapeId() → int | Restituisce un identificatore univoco con ambito di diapositiva che rimane costante per tutta la durata della forma. |
isGrouped() → boolean | Determina se la forma è raggruppata. |
getAsISlideComponent() → ISlideComponent | Consente di ottenere l’interfaccia base {@link ISlideComponent}. |
getShapeType() → ShapeType | Ottiene il tipo AutoShape. |
getCNvPr() → Element | Restituisce l’elemento {@code cNvPr} per questa forma, oppure {@code null}. |
getSlide() → IBaseSlide | Restituisce la diapositiva padre. |
asIPresentationComponent() → IPresentationComponent | Restituisce l’interfaccia base {@link IPresentationComponent}. |
getPresentation() → IPresentation | Restituisce la presentazione che contiene questo componente. |