Synced
TextMetrics
Section titled “TextMetrics”
- Describes scalable metrics for one font face and logical size.
Required contracts
Section titled “Required contracts”API: engine
Implements: System.IEquatable<Inno.Text.TextMetrics>
Inherits: System.ValueType
Project: Inno.Text
Declaration
Section titled “Declaration”public readonly record struct Inno.Text.TextMetrics : System.IEquatable<Inno.Text.TextMetrics>Parameters
Section titled “Parameters”Parameter ascender: The scaled face ascender in logical pixels, using the backend’s coordinate convention.
Parameter descender: The scaled face descender in logical pixels, using the backend’s coordinate convention.
Parameter lineHeight: The recommended line spacing in logical pixels for the selected face and size.
Parameter underlinePosition: The scaled underline position relative to the baseline in logical pixels.
Parameter underlineThickness: The scaled underline thickness in logical pixels.
Members
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | TextMetrics.Constructor | Describes scalable metrics for one font face and logical size. |
| Methods | TextMetrics.Deconstruct | No XML description is available. |
| Methods | TextMetrics.Equals(Inno.Text.TextMetrics) | Indicates whether the current object is equal to another object of the same type. |
| Methods | TextMetrics.Equals(System.Object) | Indicates whether this instance and a specified object are equal. |
| Methods | TextMetrics.GetHashCode | Returns the hash code for this instance. |
| Methods | TextMetrics.op_Equality | No XML description is available. |
| Methods | TextMetrics.op_Inequality | No XML description is available. |
| Methods | TextMetrics.ToString | Returns the fully qualified type name of this instance. |
| Properties | TextMetrics.ascender | The scaled face ascender in logical pixels, using the backend’s coordinate convention. |
| Properties | TextMetrics.descender | The scaled face descender in logical pixels, using the backend’s coordinate convention. |
| Properties | TextMetrics.lineHeight | The recommended line spacing in logical pixels for the selected face and size. |
| Properties | TextMetrics.underlinePosition | The scaled underline position relative to the baseline in logical pixels. |
| Properties | TextMetrics.underlineThickness | The scaled underline thickness in logical pixels. |