FontFace

class FontFace(val name: String, val size: Float, val file: File? = null)

Constructors

Link copied to clipboard
constructor(name: String, size: Float, file: File? = null)

Properties

Link copied to clipboard
val file: File?

The file of the font. If the font is a system font, this will be null.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val size: Float

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
suspend fun fillStyle(font: Font, style: Int)

Fills the font style at the given index.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun style(style: Int): FontId?