drawLayout

open fun drawLayout(layout: Layout, x: Int, y: Int)

Draws @layout with the specified PangoRenderer.

This is equivalent to drawing the lines of the layout, at their respective positions relative to @x, @y.

Since

1.8

Parameters

layout

a PangoLayout

x

X position of left edge of baseline, in user space coordinates in Pango units.

y

Y position of left edge of baseline, in user space coordinates in Pango units.