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

API: engine
Project: Inno.Text

public Inno.Text.TextMetrics.TextMetrics(float ascender, float descender, float lineHeight, float underlinePosition, float underlineThickness)

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.