Mako 7.3.0 API
IDOMImageMaskExpanderFilter Class Reference

An image filter that presents a image source and color combination as a plain image with an alpha channel, with all pixels colored with the given color. Useful for simplifying an IDOMMaskedBrush where the brush masked by the image is a solid color. More...

#include <idomimageresource.h>

Inherits IDOMImageFilter.

Classes

class  Data
 Initialization data. More...
 

Static Public Member Functions

static EDL_API IDOMImageMaskExpanderFilterPtr create (IEDLClassFactory *pFactory, const IDOMColorPtr &color)
 Simplified creator for a mask expander filter. More...
 
static const CClassIDclassID ()
 Retrieves class id of IDOMImageMaskExpanderFilter. More...
 

Detailed Description

An image filter that presents a image source and color combination as a plain image with an alpha channel, with all pixels colored with the given color. Useful for simplifying an IDOMMaskedBrush where the brush masked by the image is a solid color.

Member Function Documentation

◆ classID()

static const CClassID& IDOMImageMaskExpanderFilter::classID ( )
inlinestatic

Retrieves class id of IDOMImageMaskExpanderFilter.

Returns
CClassID Class id of the element

◆ create()

static EDL_API IDOMImageMaskExpanderFilterPtr IDOMImageMaskExpanderFilter::create ( IEDLClassFactory pFactory,
const IDOMColorPtr &  color 
)
static

Simplified creator for a mask expander filter.

Parameters
pFactoryThe EDL Class Factory
colorThe color to use.
Returns
IDOMImageMaskExpanderFilterPtr The new filter.

The documentation for this class was generated from the following file: