ShadowFilterOptions

Inheritance: java.lang.Object, com.aspose.imaging.imagefilters.filteroptions.FilterOptionsBase

public class ShadowFilterOptions extends FilterOptionsBase

阴影滤镜选项

构造函数

构造函数描述
ShadowFilterOptions()

方法

方法描述
getBackground()背景
getOffsetX()获取偏移量 x。
setOffsetX(float value)设置偏移量 x。
getOffsetY()获取偏移量 y。
setOffsetY(float value)设置偏移量 y。
getSize()获取大小。
setSize(int value)设置大小。
getSigma()获取 sigma。
setSigma(double value)设置 sigma。
getColor()获取颜色。
setColor(Color value)设置颜色。
getOpacity()获取不透明度。
setOpacity(float value)设置不透明度。

ShadowFilterOptions()

public ShadowFilterOptions()

getBackground()

public static Color getBackground()

背景

Returns: Color

getOffsetX()

public final float getOffsetX()

获取偏移量 x。

值:偏移量 x。

Returns: float - 偏移量 x。

setOffsetX(float value)

public final void setOffsetX(float value)

设置偏移量 x。

值:偏移量 x。

Parameters:

参数类型描述
float偏移量 x。

getOffsetY()

public final float getOffsetY()

获取偏移量 y。

值:偏移量 y。

Returns: float - 偏移量 y。

setOffsetY(float value)

public final void setOffsetY(float value)

设置偏移量 y。

值:偏移量 y。

Parameters:

参数类型描述
float偏移量 y。

getSize()

public final int getSize()

获取大小。

值:大小。

Returns: int - 大小。

setSize(int value)

public final void setSize(int value)

设置大小。

值:大小。

Parameters:

参数类型描述
int大小。

getSigma()

public final double getSigma()

获取 sigma。

值:sigma。

Returns: double - sigma。

setSigma(double value)

public final void setSigma(double value)

设置 sigma。

值:sigma。

Parameters:

参数类型描述
doublesigma。

getColor()

public final Color getColor()

获取颜色。

值:颜色。

Returns: Color - the color.

setColor(Color value)

public final void setColor(Color value)

设置颜色。

值:颜色。

Parameters:

参数类型描述
valueColor颜色。

getOpacity()

public final float getOpacity()

获取不透明度。

值:不透明度。

Returns: float - 不透明度。

setOpacity(float value)

public final void setOpacity(float value)

设置不透明度。

值:不透明度。

Parameters:

参数类型描述
float不透明度。