FontStyle


Defines whether the font is Italic or Normal.

See also
Font
FontFamily

Summary

Public companion functions

List<FontStyle>

Returns a list of possible values of FontStyle.

Cmn

Public companion properties

FontStyle

Use glyphs designed for slanting

Cmn
FontStyle

Use the upright glyphs

Cmn

Public constructors

FontStyle(value: Int)

This function is deprecated. Please use FontStyle.Normal or FontStyle.Italic

Cmn

Public functions

open String
Cmn

Public properties

Int
Cmn

Extension functions

FontStyle
android

Public companion functions

values

fun values(): List<FontStyle>

Returns a list of possible values of FontStyle.

Public companion properties

Italic

val ItalicFontStyle

Use glyphs designed for slanting

Normal

val NormalFontStyle

Use the upright glyphs

Public constructors

FontStyle

FontStyle(value: Int)

Public functions

toString

open fun toString(): String

Public properties

value

val valueInt

Extension functions

toSkFontStyle

fun FontStyle.toSkFontStyle(): FontStyle