**Inheritance:**
java.lang.Object, [com.aspose.imaging.imagefilters.filteroptions.FilterOptionsBase](../../com.aspose.imaging.imagefilters.filteroptions/filteroptionsbase)
```
public class ShadowFilterOptions extends FilterOptionsBase
```

阴影滤镜选项
## 构造函数

| 构造函数 | 描述 |
| --- | --- |
| [ShadowFilterOptions()](#ShadowFilterOptions--) |  |
## 方法

| 方法 | 描述 |
| --- | --- |
| [getBackground()](#getBackground--) | 背景 |
| [getOffsetX()](#getOffsetX--) | 获取偏移量 x。 |
| [setOffsetX(float value)](#setOffsetX-float-) | 设置偏移量 x。 |
| [getOffsetY()](#getOffsetY--) | 获取偏移量 y。 |
| [setOffsetY(float value)](#setOffsetY-float-) | 设置偏移量 y。 |
| [getSize()](#getSize--) | 获取大小。 |
| [setSize(int value)](#setSize-int-) | 设置大小。 |
| [getSigma()](#getSigma--) | 获取 sigma。 |
| [setSigma(double value)](#setSigma-double-) | 设置 sigma。 |
| [getColor()](#getColor--) | 获取颜色。 |
| [setColor(Color value)](#setColor-com.aspose.imaging.Color-) | 设置颜色。 |
| [getOpacity()](#getOpacity--) | 获取不透明度。 |
| [setOpacity(float value)](#setOpacity-float-) | 设置不透明度。 |
### ShadowFilterOptions() {#ShadowFilterOptions--}
```
public ShadowFilterOptions()
```


### getBackground() {#getBackground--}
```
public static Color getBackground()
```


背景

**Returns:**
[Color](../../com.aspose.imaging/color)
### getOffsetX() {#getOffsetX--}
```
public final float getOffsetX()
```


获取偏移量 x。

值：偏移量 x。

**Returns:**
float - 偏移量 x。
### setOffsetX(float value) {#setOffsetX-float-}
```
public final void setOffsetX(float value)
```


设置偏移量 x。

值：偏移量 x。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | float | 偏移量 x。 |

### getOffsetY() {#getOffsetY--}
```
public final float getOffsetY()
```


获取偏移量 y。

值：偏移量 y。

**Returns:**
float - 偏移量 y。
### setOffsetY(float value) {#setOffsetY-float-}
```
public final void setOffsetY(float value)
```


设置偏移量 y。

值：偏移量 y。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | float | 偏移量 y。 |

### getSize() {#getSize--}
```
public final int getSize()
```


获取大小。

值：大小。

**Returns:**
int - 大小。
### setSize(int value) {#setSize-int-}
```
public final void setSize(int value)
```


设置大小。

值：大小。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | int | 大小。 |

### getSigma() {#getSigma--}
```
public final double getSigma()
```


获取 sigma。

值：sigma。

**Returns:**
double - sigma。
### setSigma(double value) {#setSigma-double-}
```
public final void setSigma(double value)
```


设置 sigma。

值：sigma。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | double | sigma。 |

### getColor() {#getColor--}
```
public final Color getColor()
```


获取颜色。

值：颜色。

**Returns:**
[Color](../../com.aspose.imaging/color) - the color.
### setColor(Color value) {#setColor-com.aspose.imaging.Color-}
```
public final void setColor(Color value)
```


设置颜色。

值：颜色。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| value | [Color](../../com.aspose.imaging/color) | 颜色。 |

### getOpacity() {#getOpacity--}
```
public final float getOpacity()
```


获取不透明度。

值：不透明度。

**Returns:**
float - 不透明度。
### setOpacity(float value) {#setOpacity-float-}
```
public final void setOpacity(float value)
```


设置不透明度。

值：不透明度。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | float | 不透明度。 |

