renderLayout

open fun renderLayout(context: StyleContext, x: <Error class: unknown class>, y: <Error class: unknown class>, layout: <Error class: unknown class>)

Creates a render node for rendering @layout according to the style information in @context, and appends it to the current node of @snapshot, without changing the current node.

Parameters

context

the style context that defines the text

x

X origin of the rectangle

y

Y origin of the rectangle

layout

the PangoLayout to render