Synced
TextGlyph
Section titled “TextGlyph”
- Describes one positioned glyph emitted by Unicode shaping.
Required contracts
Section titled “Required contracts”API: engine
Implements: System.IEquatable<Inno.Text.TextGlyph>
Inherits: System.ValueType
Project: Inno.Text
Declaration
Section titled “Declaration”public readonly record struct Inno.Text.TextGlyph : System.IEquatable<Inno.Text.TextGlyph>Parameters
Section titled “Parameters”Parameter glyphId: The glyph identifier in the font face that produced this layout.
Parameter cluster: The source cluster index reported by the backend. The FreeType/HarfBuzz backend reports a UTF-8 byte offset, not a UTF-16 character index.
Parameter advanceX: The horizontal pen advance in logical pixels, including backend-applied letter spacing.
Parameter advanceY: The vertical pen advance in logical pixels, including backend-applied letter spacing.
Parameter offsetX: The horizontal placement offset from the pen position in logical pixels.
Parameter offsetY: The vertical placement offset from the pen position in logical pixels.
Members
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | TextGlyph.Constructor | Describes one positioned glyph emitted by Unicode shaping. |
| Methods | TextGlyph.Deconstruct | No XML description is available. |
| Methods | TextGlyph.Equals(Inno.Text.TextGlyph) | Indicates whether the current object is equal to another object of the same type. |
| Methods | TextGlyph.Equals(System.Object) | Indicates whether this instance and a specified object are equal. |
| Methods | TextGlyph.GetHashCode | Returns the hash code for this instance. |
| Methods | TextGlyph.op_Equality | No XML description is available. |
| Methods | TextGlyph.op_Inequality | No XML description is available. |
| Methods | TextGlyph.ToString | Returns the fully qualified type name of this instance. |
| Properties | TextGlyph.advanceX | The horizontal pen advance in logical pixels, including backend-applied letter spacing. |
| Properties | TextGlyph.advanceY | The vertical pen advance in logical pixels, including backend-applied letter spacing. |
| Properties | TextGlyph.cluster | The source cluster index reported by the backend. The FreeType/HarfBuzz backend reports a UTF-8 byte offset, not a UTF-16 character index. |
| Properties | TextGlyph.glyphId | The glyph identifier in the font face that produced this layout. |
| Properties | TextGlyph.offsetX | The horizontal placement offset from the pen position in logical pixels. |
| Properties | TextGlyph.offsetY | The vertical placement offset from the pen position in logical pixels. |