gsk.text_node
Module for [TextNode] class
class TextNode
Types 1
classTextNode : gsk.render_node.RenderNode
A render node drawing a set of glyphs.
Methods
gdk.rgba.RGBA getColor()Retrieves the color used by the text node. Returns: the text colorpango.font.Font getFont()Returns the font used by the text node. Returns: the fontuint getNumGlyphs()Retrieves the number of glyphs in the text node. Returns: the number of glyphsgraphene.point.Point getOffset()Retrieves the offset applied to the text. Returns: a point with the horizontal and vertical offsetsbool hasColorGlyphs()Checks whether the text node has color glyphs. Returns: true if the text node has color glyphsConstructors
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.