public enum FillGradientMode extends java.lang.Enum<FillGradientMode>
渐变填充风格的渐变类型枚举类。
该类提供了五种渐变填充类型,所有渐变类型都是两种颜色之间的渐变,即从渐变起始色到渐变终止色之间的渐变。渐变填充范围的计算都是以填充区域的边界矩形,即最小外接矩形作为基础的。
限定符和类型 | 方法和说明 |
---|---|
static FillGradientMode |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static FillGradientMode[] |
values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
|
public static final FillGradientMode CONICAL
圆锥渐变填充。
public static final FillGradientMode LINEAR
线性渐变填充。
public static final FillGradientMode NONE
无渐变。
public static final FillGradientMode RADIAL
辐射渐变填充。
public static final FillGradientMode SQUARE
四角渐变填充。
public static FillGradientMode[] values()
for (FillGradientMode c : FillGradientMode.values()) System.out.println(c);
public static FillGradientMode valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。