Class GlyphMetrics
public class GlyphMetrics
{
// Fields
public int blackBoxX;
public int blackBoxY;
public int cellIncX;
public int cellIncY;
public Point glyphOrigin;
}
This class defines the outline metrics of a character.
- blackBoxX
- The width of the smallest rectangle that completely encloses the glyph (its black box).
- blackBoxY
- The height of the smallest rectangle that completely encloses the glyph (its black box).
- cellIncX
- The horizontal distance from the origin of the current character cell to the origin of the next character cell.
- cellIncY
- The vertical distance from the origin of the current character cell to the origin of the next character cell.
- glyphOrigin
- The x and y coordinates of the top-left corner of the smallest rectangle that completely encloses the glyph.