Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Font.ascent

Switch to Manual
public var ascent: int;

Description

The ascent of the font.

The ascent of the font is the distance from the baseline to the top line of the font, as defined in the font's original data file.