GlyphMetrics Struct
Definition
public struct GlyphMetrics
Methods
| Name | Description |
|---|---|
| Equals (2 overloads) | No summary available. |
| GetHashCode | No summary available. |
| ToString | No summary available. |
Equals overloads
Equals Method
public bool Equals(Avalonia.Media.GlyphMetrics other)
Parameters
other Avalonia.Media.GlyphMetrics
Returns
bool
Equals Method
public bool Equals(object obj)
Parameters
obj object
Returns
bool
GetHashCode Method
public int GetHashCode()
Returns
int
ToString Method
public string ToString()
Returns
string
Properties
| Name | Description |
|---|---|
| AdvanceHeight | Vertical advance height (distance to the next glyph's origin in vertical layout). |
| AdvanceWidth | Horizontal advance width (distance to the next glyph's origin). |
| Height | Height of the glyph's outline bounding box. |
| VerticalOriginX | X coordinate of the vertical origin (used for vertical layout). |
| VerticalOriginY | Y coordinate of the vertical origin (used for vertical layout). |
| Width | Width of the glyph's outline bounding box. |
| XBearing | Distance from the x-origin to the leftmost outline point. |
| XOffset | Horizontal offset from the glyph's origin to the leftmost outline point (used for bitmap glyphs). |
| YBearing | Distance from the topmost outline point to the y-origin. |
| YOffset | Vertical offset from the glyph's origin to the topmost outline point (used for bitmap glyphs). |
AdvanceHeight Property
Vertical advance height (distance to the next glyph's origin in vertical layout).
public ushort AdvanceHeight { get; set; }
AdvanceWidth Property
Horizontal advance width (distance to the next glyph's origin).
public ushort AdvanceWidth { get; set; }
Height Property
Height of the glyph's outline bounding box.
public ushort Height { get; set; }
VerticalOriginX Property
X coordinate of the vertical origin (used for vertical layout).
public ushort VerticalOriginX { get; set; }
VerticalOriginY Property
Y coordinate of the vertical origin (used for vertical layout).
public ushort VerticalOriginY { get; set; }
Width Property
Width of the glyph's outline bounding box.
public ushort Width { get; set; }
XBearing Property
Distance from the x-origin to the leftmost outline point.
public int XBearing { get; set; }
XOffset Property
Horizontal offset from the glyph's origin to the leftmost outline point (used for bitmap glyphs).
public ushort XOffset { get; set; }
YBearing Property
Distance from the topmost outline point to the y-origin.
public int YBearing { get; set; }
YOffset Property
Vertical offset from the glyph's origin to the topmost outline point (used for bitmap glyphs).
public ushort YOffset { get; set; }