Struct LineGlyph
public struct LineGlyph
- Inherited Members
- Extension Methods
Properties
Id
public ushort Id { readonly get; set; }
Property Value
IsAvailable
public bool IsAvailable { readonly get; set; }
Property Value
Length
Length inside existing span
public int Length { readonly get; set; }
Property Value
Position
public float Position { readonly get; set; }
Property Value
Source
public string Source { readonly get; set; }
Property Value
StartIndex
Position inside existing span
public int StartIndex { readonly get; set; }
Property Value
Symbol
public int Symbol { readonly get; set; }
Property Value
Width
Measured text with advance
public float Width { readonly get; set; }
Property Value
Methods
FromGlyph(UsedGlyph, float, float)
public static LineGlyph FromGlyph(UsedGlyph glyph, float position, float width)
Parameters
Returns
GetGlyphText()
public ReadOnlySpan<char> GetGlyphText()
Returns
IsNumber()
public bool IsNumber()
Returns
Move(LineGlyph, float)
public static LineGlyph Move(LineGlyph existing, float position)