FontInfo
open class FontInfo
kotlin.Any | |
↳ | androidx.core.provider.FontsContractCompat.FontInfo |
Object represent a font entry in the family returned from fetchFonts
.
Summary
Public methods |
|
---|---|
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
getResultCode
open fun getResultCode(): Int
Returns result code. FontsContractCompat.Columns#RESULT_CODE
getTtcIndex
open fun getTtcIndex(): Int
Returns the index to be used to access this font when accessing a TTC file.