CompositingParameters

Inheritance: java.lang.Object

public final class CompositingParameters

Represents an object containing graphics compositing parameters of current graphics state.

Constructors

ConstructorDescription
CompositingParameters(int blendMode)Initializes new instance of the CompositingParameters object.
CompositingParameters(int blendMode, int filterType)Initializes new instance of the CompositingParameters object.
CompositingParameters(int blendMode, int filterType, boolean isMasked)Initializes new instance of the CompositingParameters object.

Methods

MethodDescription
getBlendMode()Gets blend mode of current graphics state.
getFilterType()Gets the image filter type.
isMasked()Gets the mask flag.

CompositingParameters(int blendMode)

public CompositingParameters(int blendMode)

Initializes new instance of the CompositingParameters object.

Parameters:

ParameterTypeDescription
blendModeintBlend mode of current graphics state.

CompositingParameters(int blendMode, int filterType)

public CompositingParameters(int blendMode, int filterType)

Initializes new instance of the CompositingParameters object.

Parameters:

ParameterTypeDescription
blendModeintBlend mode of current graphics state.
filterTypeintThe image filter type.

CompositingParameters(int blendMode, int filterType, boolean isMasked)

public CompositingParameters(int blendMode, int filterType, boolean isMasked)

Initializes new instance of the CompositingParameters object.

Parameters:

ParameterTypeDescription
blendModeintBlend mode of current graphics state.
filterTypeintThe image filter type.
isMaskedbooleanThe adding mask flag.

getBlendMode()

public int getBlendMode()

Gets blend mode of current graphics state.

Returns: int - BlendMode element

getFilterType()

public int getFilterType()

Gets the image filter type.

Returns: int - ImageFilterType element

isMasked()

public boolean isMasked()

Gets the mask flag.

Returns: boolean - boolean value