**Inheritance:**
java.lang.Object

**All Implemented Interfaces:**
[com.aspose.imaging.fileformats.cmx.objectmodel.specs.ICmxObjectSpec](../../com.aspose.imaging.fileformats.cmx.objectmodel.specs/icmxobjectspec)
```
public class CmxTextBlockSpec implements ICmxObjectSpec
```

Rappresenta le informazioni specificate per blocchi di testo.
## Costruttori

| Costruttore | Descrizione |
| --- | --- |
| [CmxTextBlockSpec()](#CmxTextBlockSpec--) |  |
## Metodi

| Metodo | Descrizione |
| --- | --- |
| [getParagraphStyle()](#getParagraphStyle--) | Ottiene lo stile del paragrafo. |
| [setParagraphStyle(CmxParagraphStyle value)](#setParagraphStyle-com.aspose.imaging.fileformats.cmx.objectmodel.styles.CmxParagraphStyle-) | Imposta lo stile del paragrafo. |
| [getFont()](#getFont--) | Ottiene il carattere. |
| [setFont(Font value)](#setFont-com.aspose.imaging.Font-) | Imposta il font. |
| [getMatrix()](#getMatrix--) | Restituisce la matrice di trasformazione. |
| [setMatrix(Matrix value)](#setMatrix-com.aspose.imaging.Matrix-) | Imposta la matrice di trasformazione. |
| [getText()](#getText--) | Ottiene il testo. |
| [setText(String value)](#setText-java.lang.String-) | Imposta il testo. |
| [getCharLocations()](#getCharLocations--) | Ottiene le posizioni dei caratteri. |
| [setCharLocations(PointF[] value)](#setCharLocations-com.aspose.imaging.PointF---) | Imposta le posizioni dei caratteri. |
| [equals(Object o)](#equals-java.lang.Object-) | Verifica se gli oggetti sono uguali. |
| [hashCode()](#hashCode--) | Ottieni il codice hash dell'oggetto corrente. |
### CmxTextBlockSpec() {#CmxTextBlockSpec--}
```
public CmxTextBlockSpec()
```


### getParagraphStyle() {#getParagraphStyle--}
```
public final CmxParagraphStyle getParagraphStyle()
```


Ottiene lo stile del paragrafo.

**Returns:**
[CmxParagraphStyle](../../com.aspose.imaging.fileformats.cmx.objectmodel.styles/cmxparagraphstyle) - the paragraph style.
### setParagraphStyle(CmxParagraphStyle value) {#setParagraphStyle-com.aspose.imaging.fileformats.cmx.objectmodel.styles.CmxParagraphStyle-}
```
public final void setParagraphStyle(CmxParagraphStyle value)
```


Imposta lo stile del paragrafo.

**Parameters:**
| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| value | [CmxParagraphStyle](../../com.aspose.imaging.fileformats.cmx.objectmodel.styles/cmxparagraphstyle) | lo stile del paragrafo. |

### getFont() {#getFont--}
```
public final Font getFont()
```


Ottiene il carattere.

**Returns:**
[Font](../../com.aspose.imaging/font) - the font.
### setFont(Font value) {#setFont-com.aspose.imaging.Font-}
```
public final void setFont(Font value)
```


Imposta il font.

**Parameters:**
| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| value | [Font](../../com.aspose.imaging/font) | il font. |

### getMatrix() {#getMatrix--}
```
public final Matrix getMatrix()
```


Restituisce la matrice di trasformazione.

**Returns:**
[Matrix](../../com.aspose.imaging/matrix) - the transformation matrix.
### setMatrix(Matrix value) {#setMatrix-com.aspose.imaging.Matrix-}
```
public final void setMatrix(Matrix value)
```


Imposta la matrice di trasformazione.

**Parameters:**
| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| value | [Matrix](../../com.aspose.imaging/matrix) | la matrice di trasformazione. |

### getText() {#getText--}
```
public final String getText()
```


Ottiene il testo.

**Returns:**
java.lang.String - il testo.
### setText(String value) {#setText-java.lang.String-}
```
public final void setText(String value)
```


Imposta il testo.

**Parameters:**
| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| valore | java.lang.String | il testo. |

### getCharLocations() {#getCharLocations--}
```
public final PointF[] getCharLocations()
```


Ottiene le posizioni dei caratteri.

**Returns:**
com.aspose.imaging.PointF[] - le posizioni dei caratteri.
### setCharLocations(PointF[] value) {#setCharLocations-com.aspose.imaging.PointF---}
```
public final void setCharLocations(PointF[] value)
```


Imposta le posizioni dei caratteri.

**Parameters:**
| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| value | [PointF\[\]](../../com.aspose.imaging/pointf) | le posizioni dei caratteri. |

### equals(Object o) {#equals-java.lang.Object-}
```
public boolean equals(Object o)
```


Verifica se gli oggetti sono uguali.

**Parameters:**
| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| o | java.lang.Object | L'altro oggetto. |

**Returns:**
boolean - Il risultato del confronto di uguaglianza.
### hashCode() {#hashCode--}
```
public int hashCode()
```


Ottieni il codice hash dell'oggetto corrente.

**Returns:**
int - Il codice hash.
