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