gsk.text_node

Module for [TextNode] class

class TextNode

Types 1

A render node drawing a set of glyphs.

Methods
gdk.rgba.RGBA getColor() nothrowRetrieves the color used by the text node. Returns: the text color
pango.font.Font getFont() nothrowReturns the font used by the text node. Returns: the font
uint getNumGlyphs() nothrowRetrieves the number of glyphs in the text node. Returns: the number of glyphs
graphene.point.Point getOffset() nothrowRetrieves the offset applied to the text. Returns: a point with the horizontal and vertical offsets
bool hasColorGlyphs() nothrowChecks 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.