GlyphConstructor

Cambiar al Manual
public Glyph ();
public Glyph (TextCore.Glyph glyph);
public Glyph (uint index, TextCore.GlyphMetrics metrics, TextCore.GlyphRect glyphRect);
public Glyph (uint index, TextCore.GlyphMetrics metrics, TextCore.GlyphRect glyphRect, float scale, int atlasIndex);

Parámetros

glyphGlyph used as a reference for the new glyph.
indexThe index of the glyph in the font file.
metricsThe metrics of the glyph.
glyphRectThe GlyphRect defining the position of the glyph in the atlas texture.
scaleThe relative scale of the glyph.
atlasIndexThe index of the atlas texture that contains the glyph.

Descripción

Constructor for a new glyph.