TypefaceStyle

Responsible for normalizing style and numeric weight for backward compatibility.

Constructors

Link copied to clipboard
constructor(weight: Int, italic: Boolean)
constructor(style: Int, weight: Int = ReactConstants.UNSET)

If weight is supplied, it will be combined with the italic bit from style. Otherwise, any existing weight bit in style will be used.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun apply(typeface: Typeface?): Typeface