Struct GlyphMetrics
public readonly struct GlyphMetrics : IEquatable<GlyphMetrics>
- Implements
- Inherited Members
Properties
Height
Distance from the top extremum of the glyph to the bottom extremum.
public int Height { get; init; }
Property Value
Width
Distance from the left extremum of the glyph to the right extremum.
public int Width { get; init; }
Property Value
XBearing
Distance from the x-origin to the left extremum of the glyph.
public int XBearing { get; init; }
Property Value
YBearing
Distance from the top extremum of the glyph to the y-origin.
public int YBearing { get; init; }
Property Value
Methods
Equals(GlyphMetrics)
public bool Equals(GlyphMetrics other)
Parameters
other
GlyphMetrics
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(GlyphMetrics, GlyphMetrics)
public static bool operator ==(GlyphMetrics left, GlyphMetrics right)
Parameters
left
GlyphMetricsright
GlyphMetrics
Returns
operator !=(GlyphMetrics, GlyphMetrics)
public static bool operator !=(GlyphMetrics left, GlyphMetrics right)
Parameters
left
GlyphMetricsright
GlyphMetrics