@Beta(2020, 12) open fun withSize(size: Expression!): TextSettings.Builder!
Sets the base text size to use for all text sections, in pixels. Individual FormatExpressionSections can use the scale parameter to scale the size of the text relative to this setting.
size
- Expression!: The base text size to use for all text sections, in pixels. Currently supports Literal expression with double Value. Defaults to 15.
Return
TextSettings.Builder!: A reference to this object.
See Also
LiteralExpression