Documentation

Unity Engine


Unity Engine


FontAutoSize

Automatic font sizing settings for the Advanced Text Generator.
Read time 1 minuteLast updated 8 days ago

Definition

public struct FontAutoSize

Fields

Value

Description

enabledShrink or grow the font size between FontAutoSize.minSize and FontAutoSize.maxSize so the text fits the extents.
maxSizeMaximum font size, in pixels.
minSizeMinimum font size, in pixels.

Constructors

Constructor

Description

FontAutoSize(System.Boolean,System.Single,System.Single)Creates automatic sizing settings.

Static Properties

Property

Description

DefaultAutomatic sizing disabled, with a size range of 0 to 100 pixels.