FontData
FontData class
Represents a font definition. Immutable.
FontData
| Name | Description |
|---|---|
| FontData(String) | Creates a new FontData object with the specified font name. |
Parameters:
| Name | Type | Description |
|---|---|---|
| fontName | String | Font name. |
Returns: FontData
equals
| Name | Description |
|---|---|
| equals (Object) | Determines whether two FontData instances are equal. |
Parameters:
| Name | Type | Description |
|---|---|---|
| obj | Object | The FontData to compare with the current FontData. |
Returns: boolean
getFontName
| Name | Description |
|---|---|
| getFontName () | Returns the font name. Read/write String. |
Returns: String
getFontName
| Name | Description |
|---|---|
| getFontName (IThemeEffectiveData) | Returns the font name, replacing theme referrence with an actual font used. |
Parameters:
| Name | Type | Description |
|---|---|---|
| theme | IThemeEffectiveData | Theme from which themed font name should be taken. Its up to caller to provide a correct value. See IThemeable#createThemeEffective |
Returns: String
hashCode
| Name | Description |
|---|---|
| hashCode () | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
Returns: int
toString
| Name | Description |
|---|---|
| toString () | Returns string representation. |
Returns: String