function drawTextLayout
source · line 10public
public fun SceneContext.drawTextLayout(key: PaintKey, layout: TextLayout, revision: Long, origin: Point = Point(0.0, 0.0)): Unit
Extension receiver: SceneContext
Paints an owned layout with the same source-over recording path as paragraph controls.
parameter key
source · line 11public
key: PaintKey
parameter layout
source · line 12public
layout: TextLayout
parameter receiver
source · line 10public
SceneContext
parameter revision
source · line 13public
revision: Long
parameter origin
source · line 14public
origin: Point = Point(0.0, 0.0)