GlyphMetrics
struct in UnityEngine.TextCore · UnityEngine.CoreModule
Not in Unity's public API, or in an assembly the coverage doesn't count.Unity's documentation
In Tassix
A glyph's size and placement from the pen, in pixels at its face's point size.
Constructors 1
GlyphMetrics(float width, float height, float bearingX, float bearingY, float advance)Properties 5
float height { get; set; }float horizontalAdvance { get; set; }float horizontalBearingX { get; set; }float horizontalBearingY { get; set; }float width { get; set; }Methods 2
bool Equals(GlyphMetrics other)bool Equals(object? obj)int GetHashCode()Operators 2
static bool operator !=(GlyphMetrics a, GlyphMetrics b)static bool operator ==(GlyphMetrics a, GlyphMetrics b)