StyleTextAutoSize
Style value that can be either a TextAutoSize or a StyleKeyword.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Implements: IStyleValue<TextAutoSize>, IEquatable<StyleTextAutoSize>
public struct StyleTextAutoSize : IStyleValue<TextAutoSize>, IEquatable<StyleTextAutoSize>
Constructors
Constructor | Description |
|---|---|
| StyleTextAutoSize(UnityEngine.UIElements.StyleKeyword) | Creates a new StyleTextAutoSize from a StyleKeyword. |
| StyleTextAutoSize(UnityEngine.UIElements.TextAutoSize) | Creates a new StyleTextAutoSize from a TextAutoSize value. |
Properties
Property | Description |
|---|---|
| keyword | The style keyword. |
| value | The TextAutoSize value. |