CmxParagraphStyle

Inheritance: java.lang.Object

public class CmxParagraphStyle

The paragraph style.

Constructors

ConstructorDescription
CmxParagraphStyle()

Methods

MethodDescription
getCharacterSpacing()Gets the character spacing.
setCharacterSpacing(float value)Sets the character spacing.
getLanguageSpacing()Gets the language spacing.
setLanguageSpacing(float value)Sets the language spacing.
getWordSpacing()Gets the word spacing.
setWordSpacing(float value)Sets the word spacing.
getLineSpacing()Gets the line spacing.
setLineSpacing(float value)Sets the line spacing.
getHorizontalAlignment()Gets the horizontal alignment.
setHorizontalAlignment(int value)Sets the horizontal alignment.
equals(Object o)Check if objects are equal.
hashCode()Get hash code of the current object.

CmxParagraphStyle()

public CmxParagraphStyle()

getCharacterSpacing()

public final float getCharacterSpacing()

Gets the character spacing.

Returns: float - the character spacing.

setCharacterSpacing(float value)

public final void setCharacterSpacing(float value)

Sets the character spacing.

Parameters:

ParameterTypeDescription
valuefloatthe character spacing.

getLanguageSpacing()

public final float getLanguageSpacing()

Gets the language spacing.

Returns: float - the language spacing.

setLanguageSpacing(float value)

public final void setLanguageSpacing(float value)

Sets the language spacing.

Parameters:

ParameterTypeDescription
valuefloatthe language spacing.

getWordSpacing()

public final float getWordSpacing()

Gets the word spacing.

Returns: float - the word spacing.

setWordSpacing(float value)

public final void setWordSpacing(float value)

Sets the word spacing.

Parameters:

ParameterTypeDescription
valuefloatthe word spacing.

getLineSpacing()

public final float getLineSpacing()

Gets the line spacing.

Returns: float - the line spacing.

setLineSpacing(float value)

public final void setLineSpacing(float value)

Sets the line spacing.

Parameters:

ParameterTypeDescription
valuefloatthe line spacing.

getHorizontalAlignment()

public final int getHorizontalAlignment()

Gets the horizontal alignment.

Returns: int - the horizontal alignment.

setHorizontalAlignment(int value)

public final void setHorizontalAlignment(int value)

Sets the horizontal alignment.

Parameters:

ParameterTypeDescription
valueintthe horizontal alignment.

equals(Object o)

public boolean equals(Object o)

Check if objects are equal.

Parameters:

ParameterTypeDescription
ojava.lang.ObjectThe other object.

Returns: boolean - The equality comparison result.

hashCode()

public int hashCode()

Get hash code of the current object.

Returns: int - The hash code.