TextNode.this
this
(pango.font.Font font, pango.glyph_string.GlyphString glyphs, gdk.rgba.RGBA color, graphene.point.Point offset)Creates a render node that renders the given glyphs.
Note that color may not be used if the font contains color glyphs.
Parameters
font | the [pango.font.Font] containing the glyphs |
glyphs | the [pango.glyph_string.GlyphString] to render |
color | the foreground color to render with |
offset | offset of the baseline |
Returns
a new [gsk.render_node.RenderNode]