CmxTextBlockSpec

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.imaging.fileformats.cmx.objectmodel.specs.ICmxObjectSpec

public class CmxTextBlockSpec implements ICmxObjectSpec

Représente les informations spécifiées pour les blocs de texte.

Constructeurs

ConstructeurDescription
CmxTextBlockSpec()

Méthodes

MéthodeDescription
getParagraphStyle()Obtient le style de paragraphe.
setParagraphStyle(CmxParagraphStyle value)Définit le style de paragraphe.
getFont()Obtient la police.
setFont(Font value)Définit la police.
getMatrix()Obtient la matrice de transformation.
setMatrix(Matrix value)Définit la matrice de transformation.
getText()Obtient le texte.
setText(String value)Définit le texte.
getCharLocations()Obtient les emplacements des caractères.
setCharLocations(PointF[] value)Définit les emplacements des caractères.
equals(Object o)Vérifie si les objets sont égaux.
hashCode()Obtient le code de hachage de l’objet actuel.

CmxTextBlockSpec()

public CmxTextBlockSpec()

getParagraphStyle()

public final CmxParagraphStyle getParagraphStyle()

Obtient le style de paragraphe.

Returns: CmxParagraphStyle - the paragraph style.

setParagraphStyle(CmxParagraphStyle value)

public final void setParagraphStyle(CmxParagraphStyle value)

Définit le style de paragraphe.

Parameters:

ParamètreTypeDescription
valueCmxParagraphStylele style de paragraphe.

getFont()

public final Font getFont()

Obtient la police.

Returns: Font - the font.

setFont(Font value)

public final void setFont(Font value)

Définit la police.

Parameters:

ParamètreTypeDescription
valueFontla police.

getMatrix()

public final Matrix getMatrix()

Obtient la matrice de transformation.

Returns: Matrix - the transformation matrix.

setMatrix(Matrix value)

public final void setMatrix(Matrix value)

Définit la matrice de transformation.

Parameters:

ParamètreTypeDescription
valueMatrixla matrice de transformation.

getText()

public final String getText()

Obtient le texte.

Returns: java.lang.String - le texte.

setText(String value)

public final void setText(String value)

Définit le texte.

Parameters:

ParamètreTypeDescription
valeurjava.lang.Stringle texte.

getCharLocations()

public final PointF[] getCharLocations()

Obtient les emplacements des caractères.

Returns: com.aspose.imaging.PointF[] - les emplacements des caractères.

setCharLocations(PointF[] value)

public final void setCharLocations(PointF[] value)

Définit les emplacements des caractères.

Parameters:

ParamètreTypeDescription
valuePointF[]les emplacements des caractères.

equals(Object o)

public boolean equals(Object o)

Vérifie si les objets sont égaux.

Parameters:

ParamètreTypeDescription
ojava.lang.ObjectL’autre objet.

Returns: boolean - Le résultat de la comparaison d’égalité.

hashCode()

public int hashCode()

Obtient le code de hachage de l’objet actuel.

Returns: int - Le code de hachage.