public class TextProperties extends Object
Defines properties for a chunk of text.
A note to developers of this API: These properties must not have any meaning or effect beyond rendering of the text to which the properties belong. In an XML-context, these properties are typically inherited from higher levels down to all text nodes. Therefore, properties that cannot be inherited or do not pertain to the text itself, should be added elsewhere.
Modifier and Type | Class and Description |
---|---|
static class |
TextProperties.Builder
Provides a builder for creating text properties instances.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getLocale()
Gets the locale of this text properties
|
String |
getTranslationMode()
Gets the translation mode
|
int |
hashCode() |
boolean |
isHyphenating()
Returns true if the hyphenating property is true, false otherwise
|
public String getLocale()
public String getTranslationMode()
public boolean isHyphenating()