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:

参数类型描述
valuefloat偏移 x。

getOffsetY()

public final float getOffsetY()

获取 y 偏移量。

值:偏移 y。

Returns: float - 偏移 y。

setOffsetY(float value)

public final void setOffsetY(float value)

设置 y 偏移量。

值:偏移 y。

Parameters:

参数类型描述
valuefloat偏移 y。

getSize()

public final int getSize()

获取大小。

值:大小。

Returns: int - 大小。

setSize(int value)

public final void setSize(int value)

设置大小。

值:大小。

Parameters:

参数类型描述
valueint大小。

getSigma()

public final double getSigma()

获取 Sigma 值。

值:sigma。

Returns: double - sigma。

setSigma(double value)

public final void setSigma(double value)

设置 Sigma 值。

值:sigma。

Parameters:

参数类型描述
valuedoublesigma。

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:

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