Fonts

interface Fonts

提供了创建 Font 实例的方法。

Author

M8Test, [email protected], https://m8test.com

Functions

Link copied to clipboard
abstract fun create(resId: Int, weight: (FontWeights) -> FontWeight, style: (FontStyles) -> FontStyle, loadingStrategy: (FontLoadingStrategies) -> FontLoadingStrategy): Font

通过资源ID创建一个字体。