TextNode
constructor(font: <Error class: unknown class>, glyphs: <Error class: unknown class>, color: <Error class: unknown class>, offset: <Error class: unknown class>)
Creates a render node that renders the given glyphs.
Note that @color may not be used if the font contains color glyphs.
Return
a new GskRenderNode
Parameters
font
the PangoFont
containing the glyphs
glyphs
the PangoGlyphString
to render
color
the foreground color to render with
offset
offset of the baseline
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)