FontInfo
open classFontInfo
| kotlin.Any | |
| ↳ | android.provider.FontsContract.FontInfo |
Object represent a font entry in the family returned from fetchFonts.
Summary
| Public methods | |
|---|---|
| open Array<FontVariationAxis!>? |
getAxes()Returns the list of axes associated to this font. |
| open Int |
Returns result code. |
| open Int |
Returns the index to be used to access this font when accessing a TTC file. |
| open Uri |
getUri()Returns a URI associated to this record. |
| open Int |
Returns the weight value for this font. |
| open Boolean |
isItalic()Returns whether this font is italic. |
Public methods
getAxes
open fungetAxes(): Array<FontVariationAxis!>?
Deprecated: Deprecated in Java.
Returns the list of axes associated to this font.
| Return | |
|---|---|
Array<FontVariationAxis!>? |
This value may be null. |
getResultCode
open fungetResultCode(): Int
Deprecated: Deprecated in Java.
Returns result code. FontsContract.Columns.RESULT_CODE
getTtcIndex
open fungetTtcIndex(): Int
Deprecated: Deprecated in Java.
Returns the index to be used to access this font when accessing a TTC file.
| Return | |
|---|---|
Int |
Value is 0 or greater |
getUri
open fungetUri(): Uri
Deprecated: Deprecated in Java.
Returns a URI associated to this record.
| Return | |
|---|---|
Uri |
This value cannot be null. |
getWeight
open fungetWeight(): Int
Deprecated: Deprecated in Java.
Returns the weight value for this font.
| Return | |
|---|---|
Int |
Value is between 1 and 1000 inclusive |
isItalic
open funisItalic(): Boolean
Deprecated: Deprecated in Java.
Returns whether this font is italic.