textScale(_:isEnabled:)
Applies a text scale to the text.
Declaration
func textScale(_ scale: Text.Scale, isEnabled: Bool = true) -> TextParameters
- scale:
The text scale to apply.
- isEnabled:
If true the text scale is applied; otherwise text scale is unchanged.
Return Value
Text with the specified scale applied.