LinearGradientMode
Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
public final class LinearGradientMode extends System.Enum
Specifies the direction of a linear gradient.
Fields
Field | Description |
---|---|
Horizontal | Specifies a gradient from left to right. |
Vertical | Specifies a gradient from top to bottom. |
ForwardDiagonal | Specifies a gradient from upper left to lower right. |
BackwardDiagonal | Specifies a gradient from upper right to lower left. |
Horizontal
public static final int Horizontal
Specifies a gradient from left to right.
Vertical
public static final int Vertical
Specifies a gradient from top to bottom.
ForwardDiagonal
public static final int ForwardDiagonal
Specifies a gradient from upper left to lower right.
BackwardDiagonal
public static final int BackwardDiagonal
Specifies a gradient from upper right to lower left.