sesl.androidx
Toggle table of contents
main
Platform filter
main
Switch theme
Search in API
sesl.androidx
core
/
androidx.core.content.res
/
FontResourcesParserCompat
/
FontFileResourceEntry
Font
File
Resource
Entry
class
FontFileResourceEntry
(
source
)
A class that represents a font element in an xml file which points to a file in resources.
Members
Constructors
Font
File
Resource
Entry
Link copied to clipboard
constructor
(
@
NonNull
fileName
:
String
,
weight
:
Int
,
italic
:
Boolean
,
@
Nullable
variationSettings
:
String
,
ttcIndex
:
Int
,
resourceId
:
Int
)
Functions
get
File
Name
Link copied to clipboard
@
NonNull
open
fun
getFileName
(
)
:
String
get
Resource
Id
Link copied to clipboard
open
fun
getResourceId
(
)
:
Int
get
Ttc
Index
Link copied to clipboard
open
fun
getTtcIndex
(
)
:
Int
get
Variation
Settings
Link copied to clipboard
@
Nullable
open
fun
getVariationSettings
(
)
:
String
get
Weight
Link copied to clipboard
open
fun
getWeight
(
)
:
Int
is
Italic
Link copied to clipboard
open
fun
isItalic
(
)
:
Boolean