In This Article

LinearGradientType Enum

Specifies the type of linear gradient.

public enum LinearGradientType

Fields

Name Description
BottomLeftToTopRight

Indicates the gradient will start at the bottom-left corner and move to the top-right corner.

BottomRightToTopLeft

Indicates the gradient will start at the bottom-right corner and move to the top-left corner.

BottomToTop

Indicates the gradient will start on the bottom side and move up.

CustomAngle

Indicates the gradient will use a custom angle specified elsewhere.

LeftToRight

Indicates the gradient will start on the left side and move right.

RightToLeft

Indicates the gradient will start on the right side and move left.

TopLeftToBottomRight

Indicates the gradient will start at the top-left corner and move to the bottom-right corner.

TopRightToBottomLeft

Indicates the gradient will start at the top-right corner and move to the bottom-left corner.

TopToBottom

Indicates the gradient will start on the top side and move down.