
**遗产：**
java.lang.Object
```
public class GradientStyle
```

指定渐变填充的样式。
## 字段

| 场地 | 描述 |
| --- | --- |
| [DIAGONAL_DOWN](#DIAGONAL-DOWN) | 从顶角向下移动到对角的对角渐变。 |
| [DIAGONAL_UP](#DIAGONAL-UP) | 从底角向上移动到对角的对角渐变。 |
| [FROM_CENTER](#FROM-CENTER) | 从中心到角落的渐变。 |
| [FROM_CORNER](#FROM-CORNER) | 从一个角到其他三个角的渐变。 |
| [HORIZONTAL](#HORIZONTAL) | 在对象上水平运行的渐变。 |
| [NONE](#NONE) | 没有渐变。 |
| [VERTICAL](#VERTICAL) | 垂直向下运行的渐变对象。 |
| [length](#length) |  |
## 方法

| 方法 | 描述 |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [fromName(String gradientStyleName)](#fromName-java.lang.String-) |  |
| [getClass()](#getClass--) |  |
| [getName(int gradientStyle)](#getName-int-) |  |
| [getValues()](#getValues--) |  |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [toString()](#toString--) |  |
| [toString(int gradientStyle)](#toString-int-) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### DIAGONAL_DOWN {#DIAGONAL-DOWN}
```
public static int DIAGONAL_DOWN
```


从顶角向下移动到对角的对角渐变。

### DIAGONAL_UP {#DIAGONAL-UP}
```
public static int DIAGONAL_UP
```


从底角向上移动到对角的对角渐变。

### FROM_CENTER {#FROM-CENTER}
```
public static int FROM_CENTER
```


从中心到角落的渐变。

### FROM_CORNER {#FROM-CORNER}
```
public static int FROM_CORNER
```


从一个角到其他三个角的渐变。

### HORIZONTAL {#HORIZONTAL}
```
public static int HORIZONTAL
```


在对象上水平运行的渐变。

### NONE {#NONE}
```
public static int NONE
```


没有渐变。

### VERTICAL {#VERTICAL}
```
public static int VERTICAL
```


垂直向下运行的渐变对象。

### length {#length}
```
public static int length
```


### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**退货：**
布尔值
### fromName(String gradientStyleName) {#fromName-java.lang.String-}
```
public static int fromName(String gradientStyleName)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| gradientStyleName | java.lang.String |  |

**退货：**
整数
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**退货：**
java.lang.Class<?>
### getName(int gradientStyle) {#getName-int-}
```
public static String getName(int gradientStyle)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| gradientStyle | int |  |

**退货：**
java.lang.字符串
### getValues() {#getValues--}
```
public static int[] getValues()
```




**退货：**
整数[]
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**退货：**
整数
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### toString() {#toString--}
```
public String toString()
```




**退货：**
java.lang.字符串
### toString(int gradientStyle) {#toString-int-}
```
public static String toString(int gradientStyle)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| gradientStyle | int |  |

**退货：**
java.lang.字符串
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |
