gsk.text_node

Module for [TextNode] class

class TextNode

Types 1

A render node drawing a set of glyphs.

Methods
gdk.rgba.RGBA getColor()Retrieves the color used by the text node. Returns: the text color
pango.font.Font getFont()Returns the font used by the text node. Returns: the font
uint getNumGlyphs()Retrieves the number of glyphs in the text node. Returns: the number of glyphs
graphene.point.Point getOffset()Retrieves the offset applied to the text. Returns: a point with the horizontal and vertical offsets
bool hasColorGlyphs()Checks whether the text node has color glyphs. Returns: true if the text node has color glyphs
Constructors
this(void * ptr, Flag!"Take" take)
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.