BackgroundPropertyHelper.ResolveUnityBackgroundScaleMode

Declaration

public static ScaleMode ResolveUnityBackgroundScaleMode(UIElements.BackgroundPosition backgroundPositionX, UIElements.BackgroundPosition backgroundPositionY, UIElements.BackgroundRepeat backgroundRepeat, UIElements.BackgroundSize backgroundSize, out bool valid);

Parameters

backgroundPositionX The X BackgroundPosition to resolve.
backgroundPositionY The Y BackgroundPosition to resolve.
backgroundRepeat The BackgroundRepeat to resolve.
backgroundSize The BackgroundSize to resolve.
valid Indicates whether the background properties resolve to a valid ScaleMode.

Returns

ScaleMode ScaleMode.

Description

Resolves the background properties to a valid ScaleMode.


Did you find this page useful? Please give it a rating: