StyleBackgroundPosition
Represents a style value that can be either a BackgroundPosition or a StyleKeyword.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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. |