Text

data class Text(val color: Color, val size: Float, val alignment: Paint.Text.Alignment, val font: Font) : Paint

Similar to Fill, but carrying additional information necessary for text.

Constructors

Link copied to clipboard
constructor(color: Color, size: Float, alignment: Paint.Text.Alignment, font: Font)

Types

Link copied to clipboard

Properties

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

Functions

Link copied to clipboard
fun Paint.toAndroid(context: Context): Paint

Converts a Krayon Paint into an AndroidPaint.