Package-level declarations
Types
A function returning a Font object, taking as parameters the weight (FontWeight) and the other variation settings (FontVariation.Settings)
Fixed icon font, for non-variable fonts. Multiple fonts might be provided to support multiple weights.
Properties
The default IconFont used when none is provided as a parameter of one of the FontIcon composables.
The default icon size (in Dp) used when none is provided in the composable Modifier.
The default icon tint (a Color) used when none is provided as a parameter of one of the FontIcon composables.
The default icon tint provider (a CompositionLocal for a Color) used when none is provided as a parameter of one of the FontIcon composables. If null, the value of LocalIconTint will be used instead. When using Material3, should be most likely set to LocalContentColor.
The default icon weight (a FontWeight) used when none is provided as a parameter of one of the FontIcon composables.
Functions
Creates a variable IconFont using a FontConstructor.
Creates a variable IconFont using a Skia Typeface.
An extension function that draws the icon using the typeface into the receiver Canvas. The icon will be size × size dp, and will be tinted with tint.
An extension function that draws the icon iconName using the typeface into the receiver Canvas. The icon will be size × size dp, and will be tinted with tint.
An extension function that draws the icon using the iconFont into the receiver Canvas. The icon will be size × size dp, and will be tinted with tint.
An extension function that draws the icon using the variable iconFont into the receiver Canvas. The icon will be size × size dp, and will be tinted with tint.
An extension function that draws the icon iconName using the iconFont into the receiver Canvas. The icon will be size × size dp, and will be tinted with tint.
An extension function that draws the icon iconName using the variable iconFont into the receiver Canvas. The icon will be size × size dp, and will be tinted with tint.
An extension function that draws the icon using the variable typeface into the receiver Canvas. The icon will be size × size dp, and will be tinted with tint.
An extension function that draws the icon using iconFont into the receiver Canvas. The icon will be size × size dp, and will be tinted with tint. If iconFont is a variable font, weight will applied as a variation setting, or else the font with the nearest weight will be picked.
A component that draws the icon icon using iconFont (with a default value of LocalIconFont. The icon will be size × size dp, and will be tinted with tint. If iconFont is a variable font, weight will applied as a variation setting, or else the font with the nearest weight will be picked.
A function that draws the icon using iconFont into a new Bitmap. The icon will be size × size dp, and will be tinted with tint. If iconFont is a variable font, weight will applied as a variation setting, or else the font with the nearest weight will be picked.
A function that draws the icon using the typeface into a new Bitmap. The icon will be size × size dp, and will be tinted with tint.
A function that draws the icon iconName using iconFont into a new Bitmap. The icon will be size × size dp, and will be tinted with tint. If iconFont is a variable font, weight will applied as a variation setting, or else the font with the nearest weight will be picked.
A function that draws the icon iconName using the typeface into a new Bitmap. The icon will be size × size dp, and will be tinted with tint.
A function that draws the icon using the iconFont into a new Bitmap. The icon will be size × size dp, and will be tinted with tint.
A function that draws the icon using the variable iconFont into a new Bitmap. The icon will be size × size dp, and will be tinted with tint.
A function that draws the icon iconName using the iconFont into a new Bitmap. The icon will be size × size dp, and will be tinted with tint.
A function that draws the icon iconName using the variable iconFont into a new Bitmap. The icon will be size × size dp, and will be tinted with tint.
A function that draws the icon using the variable typeface into a new Bitmap. The icon will be size × size dp, and will be tinted with tint.
A shortcut method to set default values for FontIcon composables. Might be better to use CompositionLocalProvider if it's for setting only one of the default values.
Creates a static IconFont using a list of Font objects. Multiple fonts might be provided to support multiple weights.
Creates a static IconFont using a Compose Multiplatform FontResource.
Creates a variable IconFont using a ParcelFileDescriptor. Requires Android Oreo or higher.
Creates a variable IconFont from a file.
Creates a variable IconFont using a FontConstructor.
Creates a variable IconFont using a resource id.
Creates a variable IconFont from a file in the assets directory.
Creates a variable IconFont using a Compose Multiplatform FontResource.
Creates a variable IconFont from a file.
Creates a variable IconFont using a resource name.
Creates a variable IconFont using a byte array with loaded font data.
Creates a variable IconFont using a Skia Typeface.
Creates a variable IconFont using the path of a font.