Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Describes scalable metrics for one font face and logical size.

API: scripting
Implements: System.IEquatable<InnoEngine.Text.TextMetrics>
Inherits: System.ValueType
Project: Inno.Text
Scope: Runtime

public readonly struct InnoEngine.Text.TextMetrics : System.IEquatable<InnoEngine.Text.TextMetrics>

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.

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(InnoEngine.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.