BrandFont

class BrandFont

One face of a brand typeface: TTF/OTF bytes and the weight they represent, as a CardTextWeight (Kotlin can also pass a Compose FontWeight: BrandFont(name, bytes, FontWeight.Light)).

Constructors

Link copied to clipboard
constructor(name: String, bytes: ByteArray, weight: CardTextWeight = CardTextWeight.Regular)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The Compose weight of this face.