BackgroundPositionKeyword
Defines the position of the background.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Enum
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public enum BackgroundPositionKeyword
Fields
Value | Description |
|---|---|
| Bottom | Vertical alignment is at the bottom. |
| Center | Vertical alignment is centered and/or Horizontal alignment is centered. This is the default value to make sure it's backward compatible with unity-background-scale-mode default value. |
| Left | Horizontal alignment is to the left. |
| Right | Horizontal alignment is to the right. |
| Top | Vertical alignment is at the top. |