Package com.grapecity.documents.excel
Enum Class GradientFillType
- All Implemented Interfaces:
Serializable,Comparable<GradientFillType>,Constable
指定正在使用的渐变填充类型,是线性还是路径。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic GradientFillTypeReturns the enum constant of this class with the specified name.static GradientFillType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
None
指定无渐变填充。 -
Linear
指定此渐变填充为线性渐变类型。线性渐变类型意味着从一种颜色过渡到另一种颜色是沿着一条线进行的。 -
Path
指定此渐变填充为路径渐变类型。路径渐变类型意味着从一种颜色过渡到另一种颜色的边界是一个矩形,该矩形由gradientFill元素上的top、bottom、left和right属性定义。
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-