Package-level declarations
Types
Marks APIs that are experimental and may be changed.
A function returning a Font object, taking as parameters the weight (FontWeight) and the other variation settings (FontVariation.Settings)
A drawable that draws an icon using a icon font. This effectively just calls Canvas.drawFontIcon on the Drawable canvas.
Fixed icon font, for non-variable fonts. Multiple fonts might be provided to support multiple weights.
Variable icon font, for variable fonts. The optical size (opsz) and weight (wght) axes will be automatically set.
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 static IconFont using a Compose Multiplatform FontResource.
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 static IconFont using a Compose Multiplatform FontResource.
Creates a variable IconFont using a FontConstructor.
Creates a variable IconFont using a Compose Multiplatform FontResource.
Creates a variable IconFont using a Compose Multiplatform FontResource.
Creates a variable IconFont using a Skia Typeface.
Creates a variable IconFont using a Compose Multiplatform FontResource.
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.
A component that draws the icon icon using iconFont (with a default value of LocalIconFont). The icon will have the default size (unless specified with a modifier), and will be tinted with tint. If iconFont is a variable font, weight will be applied as a variation setting, or else the font with the nearest weight will be picked.
A component that draws the icon iconName using iconFont (with a default value of LocalIconFont). The icon will have the default size (unless specified with a modifier), and will be tinted with tint. If iconFont is a variable font, weight will be 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 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 Compose Multiplatform FontResource.
Creates a static IconFont using a Compose Multiplatform FontResource.
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 using a Compose Multiplatform FontResource.
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 Compose Multiplatform FontResource.
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.