GradientStyle

<< Click to Display Table of Contents >>

 

GradientStyle

Enum This property specifies a gradient fill style for a Screen. This property is only used when the FillStyle property is set to 8 (eight, Gradient). Gradients consider a color change as starting from the color configured in the ForegroundColor property and moving towards the color configured in the BackgroundColor property.

Available options for the GradientStyle property

Option

Description

0 - LeftToRight

Vertical gradient, from left to right (default)

1 - RightToLeft

Vertical gradient, from right to left

2 - VertToCenter

Vertical gradient, from border to center

3 - VertFromCenter

Vertical gradient, from center to border

4 - TopDown

Horizontal gradient, from top to bottom

5 - BottomUp

Horizontal gradient, from bottom to top

6 - HorzToCenter

Horizontal gradient, from border to center

7 - HorzFromCenter

Horizontal gradient, from center to border

8 - DiagDownRight

Diagonal gradient to the bottom, with foreground color on the right

9 - DiagUpLeft

Diagonal gradient to the top, with foreground color on the left

10 - DiagUpToCenter

Diagonal gradient to the top, from border to center

11 - DiagUpFromCenter

Diagonal gradient to the top, from center to border

12 - DiagDownLeft

Diagonal gradient to the bottom, with foreground color on the left

13 - DiagUpRight

Diagonal gradient to the top, with foreground color on the right

14 - DiagDownToCenter

Diagonal gradient to the bottom, from border to center

15 - DiagDownFromCenter

Diagonal gradient to the bottom, from center to border

16 - SpotBottomRight

Gradient with foreground color, from right lower corner

17 - SpotBottomLeft

Gradient with foreground color, from left lower corner

18 - SpotTopLeft

Gradient with foreground color, from left upper corner

19 - SpotTopRight

Gradient with foreground color, from right upper corner

20 - SpotFromCenter

Gradient with background color, from center to border

21 - SpotToCenter

Gradient with background color, from border to center

Was this page useful?