Struct GlyphRunMetrics
- Namespace
- Avalonia.Media
- Assembly
- Avalonia.Base.dll
public readonly struct GlyphRunMetrics : IEquatable<GlyphRunMetrics>
- Implements
-
- Inherited Members
-
Properties
public double Baseline { get; init; }
Property Value
- double
public int FirstCluster { get; init; }
Property Value
- int
public double Height { get; init; }
Property Value
- double
public int LastCluster { get; init; }
Property Value
- int
public int NewLineLength { get; init; }
Property Value
- int
public int TrailingWhitespaceLength { get; init; }
Property Value
- int
public double Width { get; init; }
Property Value
- double
public double WidthIncludingTrailingWhitespace { get; init; }
Property Value
- double
Methods
public bool Equals(GlyphRunMetrics other)
Parameters
other
GlyphRunMetrics
Returns
- bool
public override bool Equals(object obj)
Parameters
obj
object
Returns
- bool
public override int GetHashCode()
Returns
- int
public override string ToString()
Returns
- string
Operators
public static bool operator ==(GlyphRunMetrics left, GlyphRunMetrics right)
Parameters
left
GlyphRunMetrics
right
GlyphRunMetrics
Returns
- bool
public static bool operator !=(GlyphRunMetrics left, GlyphRunMetrics right)
Parameters
left
GlyphRunMetrics
right
GlyphRunMetrics
Returns
- bool