LinearGradientMode LinearGradientMode LinearGradientMode LinearGradientMode Enum

定义

指定线性渐变的方向。Specifies the direction of a linear gradient.

public enum class LinearGradientMode
public enum LinearGradientMode
type LinearGradientMode = 
Public Enum LinearGradientMode
继承
LinearGradientModeLinearGradientModeLinearGradientModeLinearGradientMode

字段

BackwardDiagonal BackwardDiagonal BackwardDiagonal BackwardDiagonal 3

指定从右上到左下的渐变。Specifies a gradient from upper right to lower left.

ForwardDiagonal ForwardDiagonal ForwardDiagonal ForwardDiagonal 2

指定从左上到右下的渐变。Specifies a gradient from upper left to lower right.

Horizontal Horizontal Horizontal Horizontal 0

指定从左到右的渐变。Specifies a gradient from left to right.

Vertical Vertical Vertical Vertical 1

指定从上到下的渐变。Specifies a gradient from top to bottom.

适用于