Documentation

Unity Engine

Unity Engine

lineHeight

The line height represents the distance between consecutive lines of text.
Read time 1 minuteLast updated 2 months ago

Definition

public float lineHeight { get; set; }

Remarks

This is the distance from baseline to baseline. It is usually computed as line height = ascent - descent + line gap.