Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


StyleBackgroundPosition

Represents a style value that can be either a BackgroundPosition or a StyleKeyword.
Read time 1 minuteLast updated 5 days ago

Definition

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

keywordThe style keyword.
valueThe BackgroundPosition value.