Font

actual data class Font

Font wrapper.

Since

v1.2.0

expect class Font

Font wrapper.

Since

v1.2.0

actual data class Font

Font wrapper.

Since

v1.2.0

Constructors

Link copied to clipboard
constructor(typeface: Typeface, textSize: Float)
constructor(awtFont: Font)

Types

Link copied to clipboard
actual object Companion
expect object Companion
actual object Companion

Functions

Link copied to clipboard
actual fun withSize(textSize: Float): Font

Returns a copy of this font with given textSize.

expect fun withSize(textSize: Float): Font

Returns a copy of this font with given textSize.

actual fun withSize(textSize: Float): Font

Returns a copy of this font with given textSize.