ShadowFilterOptions

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

public class ShadowFilterOptions extends FilterOptionsBase

The shadow filter options

Constructors

ConstructorDescription
ShadowFilterOptions()

Methods

MethodDescription
getBackground()The background
getOffsetX()Gets the offset x.
setOffsetX(float value)Sets the offset x.
getOffsetY()Gets the offset y.
setOffsetY(float value)Sets the offset y.
getSize()Gets the size.
setSize(int value)Sets the size.
getSigma()Gets the sigma.
setSigma(double value)Sets the sigma.
getColor()Gets the color.
setColor(Color value)Sets the color.
getOpacity()Gets the opacity.
setOpacity(float value)Sets the opacity.

ShadowFilterOptions()

public ShadowFilterOptions()

getBackground()

public static Color getBackground()

The background

Returns: Color

getOffsetX()

public final float getOffsetX()

Gets the offset x.

Value: The offset x.

Returns: float - the offset x.

setOffsetX(float value)

public final void setOffsetX(float value)

Sets the offset x.

Value: The offset x.

Parameters:

ParameterTypeDescription
valuefloatthe offset x.

getOffsetY()

public final float getOffsetY()

Gets the offset y.

Value: The offset y.

Returns: float - the offset y.

setOffsetY(float value)

public final void setOffsetY(float value)

Sets the offset y.

Value: The offset y.

Parameters:

ParameterTypeDescription
valuefloatthe offset y.

getSize()

public final int getSize()

Gets the size.

Value: The size.

Returns: int - the size.

setSize(int value)

public final void setSize(int value)

Sets the size.

Value: The size.

Parameters:

ParameterTypeDescription
valueintthe size.

getSigma()

public final double getSigma()

Gets the sigma.

Value: The sigma.

Returns: double - the sigma.

setSigma(double value)

public final void setSigma(double value)

Sets the sigma.

Value: The sigma.

Parameters:

ParameterTypeDescription
valuedoublethe sigma.

getColor()

public final Color getColor()

Gets the color.

Value: The color.

Returns: Color - the color.

setColor(Color value)

public final void setColor(Color value)

Sets the color.

Value: The color.

Parameters:

ParameterTypeDescription
valueColorthe color.

getOpacity()

public final float getOpacity()

Gets the opacity.

Value: The opacity.

Returns: float - the opacity.

setOpacity(float value)

public final void setOpacity(float value)

Sets the opacity.

Value: The opacity.

Parameters:

ParameterTypeDescription
valuefloatthe opacity.