**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
```

Representa la información especificada para bloques de texto.
## Constructores

| Constructor | Descripción |
| --- | --- |
| [CmxTextBlockSpec()](#CmxTextBlockSpec--) |  |
## Métodos

| Método | Descripción |
| --- | --- |
| [getParagraphStyle()](#getParagraphStyle--) | Obtiene el estilo de párrafo. |
| [setParagraphStyle(CmxParagraphStyle value)](#setParagraphStyle-com.aspose.imaging.fileformats.cmx.objectmodel.styles.CmxParagraphStyle-) | Establece el estilo de párrafo. |
| [getFont()](#getFont--) | Obtiene la fuente. |
| [setFont(Font value)](#setFont-com.aspose.imaging.Font-) | Establece la fuente. |
| [getMatrix()](#getMatrix--) | Obtiene la matriz de transformación. |
| [setMatrix(Matrix value)](#setMatrix-com.aspose.imaging.Matrix-) | Establece la matriz de transformación. |
| [getText()](#getText--) | Obtiene el texto. |
| [setText(String value)](#setText-java.lang.String-) | Establece el texto. |
| [getCharLocations()](#getCharLocations--) | Obtiene las ubicaciones de los caracteres. |
| [setCharLocations(PointF[] value)](#setCharLocations-com.aspose.imaging.PointF---) | Establece las ubicaciones de los caracteres. |
| [equals(Object o)](#equals-java.lang.Object-) | Comprueba si los objetos son iguales. |
| [hashCode()](#hashCode--) | Obtiene el código hash del objeto actual. |
### CmxTextBlockSpec() {#CmxTextBlockSpec--}
```
public CmxTextBlockSpec()
```


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


Obtiene el estilo de párrafo.

**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)
```


Establece el estilo de párrafo.

**Parameters:**
| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| value | [CmxParagraphStyle](../../com.aspose.imaging.fileformats.cmx.objectmodel.styles/cmxparagraphstyle) | el estilo de párrafo. |

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


Obtiene la fuente.

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


Establece la fuente.

**Parameters:**
| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| value | [Font](../../com.aspose.imaging/font) | la fuente. |

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


Obtiene la matriz de transformación.

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


Establece la matriz de transformación.

**Parameters:**
| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| value | [Matrix](../../com.aspose.imaging/matrix) | la matriz de transformación. |

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


Obtiene el texto.

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


Establece el texto.

**Parameters:**
| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| valor | java.lang.String | el texto. |

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


Obtiene las ubicaciones de los caracteres.

**Returns:**
com.aspose.imaging.PointF[] - las ubicaciones de los caracteres.
### setCharLocations(PointF[] value) {#setCharLocations-com.aspose.imaging.PointF---}
```
public final void setCharLocations(PointF[] value)
```


Establece las ubicaciones de los caracteres.

**Parameters:**
| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| value | [PointF\[\]](../../com.aspose.imaging/pointf) | las ubicaciones de los caracteres. |

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


Comprueba si los objetos son iguales.

**Parameters:**
| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| o | java.lang.Object | El otro objeto. |

**Returns:**
boolean - El resultado de la comparación de igualdad.
### hashCode() {#hashCode--}
```
public int hashCode()
```


Obtiene el código hash del objeto actual.

**Returns:**
int - El código hash.
