StyleFont
Style value that can be either a Font or a StyleKeyword.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Implements: IStyleValue<Font>, IEquatable<StyleFont>
public struct StyleFont : IStyleValue<Font>, IEquatable<StyleFont>
Constructors
Constructor | Description |
|---|---|
| StyleFont(UnityEngine.Font) | Creates from a Font or StyleKeyword. |
| StyleFont(UnityEngine.UIElements.StyleKeyword) | Creates from a Font or StyleKeyword. |