GradientDirection
class GradientDirection
The available directions for a background gradient fade effect.
Learn more: Content aware padding
Methods
horizontal()
Blend the colors horizontally.
vertical()
Blend the colors vertically.
diagonalDesc()
Blend the colors diagonally from top-left to bottom-right.
diagonalAsc()
Blend the colors diagonally from bottom-left to top-right.
Details
static string
horizontal()
Blend the colors horizontally.
static string
vertical()
Blend the colors vertically.
static string
diagonalDesc()
Blend the colors diagonally from top-left to bottom-right.
static string
diagonalAsc()
Blend the colors diagonally from bottom-left to top-right.
Constants
HORIZONTAL |
Blend the colors horizontally. |
VERTICAL |
Blend the colors vertically. |
DIAGONAL_DESC |
Blend the colors diagonally from top-left to bottom-right. |
DIAGONAL_ASC |
Blend the colors diagonally from bottom-left to top-right. |