CmxTextBlockSpec
Inheritance: java.lang.Object
All Implemented Interfaces: 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() |
Métodos
| Método | Descripción |
|---|---|
| getParagraphStyle() | Obtiene el estilo de párrafo. |
| setParagraphStyle(CmxParagraphStyle value) | Establece el estilo de párrafo. |
| getFont() | Obtiene la fuente. |
| setFont(Font value) | Establece la fuente. |
| getMatrix() | Obtiene la matriz de transformación. |
| setMatrix(Matrix value) | Establece la matriz de transformación. |
| getText() | Obtiene el texto. |
| setText(String value) | Establece el texto. |
| getCharLocations() | Obtiene las ubicaciones de los caracteres. |
| setCharLocations(PointF[] value) | Establece las ubicaciones de los caracteres. |
| equals(Object o) | Comprueba si los objetos son iguales. |
| hashCode() | Obtiene el código hash del objeto actual. |
CmxTextBlockSpec()
public CmxTextBlockSpec()
getParagraphStyle()
public final CmxParagraphStyle getParagraphStyle()
Obtiene el estilo de párrafo.
Returns: CmxParagraphStyle - the paragraph style.
setParagraphStyle(CmxParagraphStyle value)
public final void setParagraphStyle(CmxParagraphStyle value)
Establece el estilo de párrafo.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| value | CmxParagraphStyle | el estilo de párrafo. |
getFont()
public final Font getFont()
Obtiene la fuente.
Returns: Font - the font.
setFont(Font value)
public final void setFont(Font value)
Establece la fuente.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| value | Font | la fuente. |
getMatrix()
public final Matrix getMatrix()
Obtiene la matriz de transformación.
Returns: Matrix - the transformation matrix.
setMatrix(Matrix value)
public final void setMatrix(Matrix value)
Establece la matriz de transformación.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| value | Matrix | la matriz de transformación. |
getText()
public final String getText()
Obtiene el texto.
Returns: java.lang.String - el texto.
setText(String value)
public final void setText(String value)
Establece el texto.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| valor | java.lang.String | el texto. |
getCharLocations()
public final PointF[] getCharLocations()
Obtiene las ubicaciones de los caracteres.
Returns: com.aspose.imaging.PointF[] - las ubicaciones de los caracteres.
setCharLocations(PointF[] value)
public final void setCharLocations(PointF[] value)
Establece las ubicaciones de los caracteres.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| value | PointF[] | las ubicaciones de los caracteres. |
equals(Object o)
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()
public int hashCode()
Obtiene el código hash del objeto actual.
Returns: int - El código hash.