FontsContractCompat.FontInfo
public class FontsContractCompat.FontInfo
Object represent a font entry in the family returned from fetchFonts.
Summary
Public methods |
|
|---|---|
int |
Returns result code. |
@IntRange(from = 0) int |
Returns the index to be used to access this font when accessing a TTC file. |
@NonNull Uri |
getUri()Returns a URI associated to this record. |
@IntRange(from = 1, to = 1000) int |
Returns the weight value for this font. |
boolean |
isItalic()Returns whether this font is italic. |
Public methods
getTtcIndex
Added in 1.1.0
public @IntRange(from = 0) int getTtcIndex()
Returns the index to be used to access this font when accessing a TTC file.