ViewDisplayBackground.CreateGradient
Description:
Creates an object that can be passed to View.SetBackground method to set the background of the Gradient type.
Creates an object that can be passed to View.SetBackground method to set the background of the Gradient type.
public static ViewDisplayBackground CreateGradient(
Color skyColor,
Color horizonColor,
Color groundColor
)
-
skyColorThe top of the sky gradient if the sky is visible.
-
horizonColorThe bottom or the sky gradient if the sky is visible, or the top of the ground gradient otherwise.
-
groundColorThe ground color if the sky is visible (ground shown in uniform color), or the bottom of the ground gradient if the sky is not visible.
-
A non-optional argument was NULL