CmxParagraphStyle
Contents
[
Hide
]Inheritance: java.lang.Object
public class CmxParagraphStyle
The paragraph style.
Constructors
Constructor | Description |
---|---|
CmxParagraphStyle() |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
value | float | the 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:
Parameter | Type | Description |
---|---|---|
value | float | the 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:
Parameter | Type | Description |
---|---|---|
value | float | the 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:
Parameter | Type | Description |
---|---|---|
value | float | the 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:
Parameter | Type | Description |
---|---|---|
value | int | the horizontal alignment. |
equals(Object o)
public boolean equals(Object o)
Check if objects are equal.
Parameters:
Parameter | Type | Description |
---|---|---|
o | java.lang.Object | The other object. |
Returns: boolean - The equality comparison result.
hashCode()
public int hashCode()
Get hash code of the current object.
Returns: int - The hash code.