MathGlyphPart Struct

A part of the assembly of a glyph of mathematical layout: the glyph, the lengths of its connectors at its start and at its end, its full size along the direction of the assembly (in font units), and whether it can be repeated.

public readonly struct MathGlyphPart : IEquatable<MathGlyphPart>
Implements

Constructors

NameDescription
MathGlyphPart(int, int, int, int, bool)A part of the assembly of a glyph of mathematical layout: the glyph, the lengths of its connectors at its start and at its end, its full size along the direction of the assembly (in font units), and whether it can be repeated.

MathGlyphPart(int, int, int, int, bool)

A part of the assembly of a glyph of mathematical layout: the glyph, the lengths of its connectors at its start and at its end, its full size along the direction of the assembly (in font units), and whether it can be repeated.

public MathGlyphPart(int Glyph, int StartConnectorLength, int EndConnectorLength, int FullAdvance, bool IsExtender)

Parameters

Glyph int
StartConnectorLength int
EndConnectorLength int
FullAdvance int
IsExtender bool

Properties

NameDescription
EndConnectorLength
FullAdvance
Glyph
IsExtender
StartConnectorLength

EndConnectorLength

MathGlyphPart.cs
public int EndConnectorLength { get; init; }

Property value

int

No documentation is available.

FullAdvance

MathGlyphPart.cs
public int FullAdvance { get; init; }

Property value

int

No documentation is available.

public int Glyph { get; init; }

Property value

int

No documentation is available.

public bool IsExtender { get; init; }

Property value

bool

No documentation is available.

StartConnectorLength

MathGlyphPart.cs
public int StartConnectorLength { get; init; }

Property value

int

No documentation is available.

Methods

NameDescription
Deconstruct(int, int, int, int, bool)
Equals(MathGlyphPart)
Equals(object)
GetHashCode()
ToString()

Deconstruct(int, int, int, int, bool)

public void Deconstruct(out int Glyph, out int StartConnectorLength, out int EndConnectorLength, out int FullAdvance, out bool IsExtender)

Parameters

Glyph int
StartConnectorLength int
EndConnectorLength int
FullAdvance int
IsExtender bool

No documentation is available.

Equals overloads

Equals(MathGlyphPart)

public bool Equals(MathGlyphPart other)
Parameters
other MathGlyphPart
Returns

bool

No documentation is available.

Equals(object)

public override bool Equals(object obj)
Parameters
obj object
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(MathGlyphPart, MathGlyphPart)
operator !=(MathGlyphPart, MathGlyphPart)

operator ==(MathGlyphPart, MathGlyphPart)

public static bool operator ==(MathGlyphPart left, MathGlyphPart right)

Parameters

left MathGlyphPart
right MathGlyphPart

Returns

bool

No documentation is available.

operator !=(MathGlyphPart, MathGlyphPart)

public static bool operator !=(MathGlyphPart left, MathGlyphPart right)

Parameters

left MathGlyphPart
right MathGlyphPart

Returns

bool

No documentation is available.