Skip to content
Select language:English

AuRea 1.0.2

expect class AuPaint

A paint object for drawing text and shapes.

Constructors

expect constructor()

Properties

expect var color: UInt

The color of the paint.

expect var textSize: Float

The text size of the paint.

Functions

expect fun getMetrics(): Pair<Float, Float>

Returns the metrics of the paint.

expect fun measureText(text: String): Float

Measures the width of the given text.