Table of Contents

Struct LineGlyph

Namespace
DrawnUi.Draw
Assembly
DrawnUi.Maui.dll
public struct LineGlyph
Inherited Members
Extension Methods

Properties

Id

public ushort Id { readonly get; set; }

Property Value

ushort

IsAvailable

public bool IsAvailable { readonly get; set; }

Property Value

bool

Length

Length inside existing span

public int Length { readonly get; set; }

Property Value

int

Position

public float Position { readonly get; set; }

Property Value

float

Source

public string Source { readonly get; set; }

Property Value

string

StartIndex

Position inside existing span

public int StartIndex { readonly get; set; }

Property Value

int

Symbol

public int Symbol { readonly get; set; }

Property Value

int

Width

Measured text with advance

public float Width { readonly get; set; }

Property Value

float

Methods

FromGlyph(UsedGlyph, float, float)

public static LineGlyph FromGlyph(UsedGlyph glyph, float position, float width)

Parameters

glyph UsedGlyph
position float
width float

Returns

LineGlyph

GetGlyphText()

public ReadOnlySpan<char> GetGlyphText()

Returns

ReadOnlySpan<char>

IsNumber()

public bool IsNumber()

Returns

bool

Move(LineGlyph, float)

public static LineGlyph Move(LineGlyph existing, float position)

Parameters

existing LineGlyph
position float

Returns

LineGlyph