文档

Unity Engine

Unity Engine

FontAutoSize

Automatic font sizing settings for the Advanced Text Generator.
阅读时间1 分钟最后更新于 21 天前

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.