Enrollment 28.2.0
Loading...
Searching...
No Matches
CircleImageMask Class Reference

Represents an image mask in the shape of a circle. More...

#include <ImageMask.h>

Collaboration diagram for CircleImageMask:

Public Member Functions

 CircleImageMask (Circle circle, ImageMaskConfiguration config)
 Constructs a CircleImageMask with a specified circle and configuration.
 CircleImageMask (Circle circle, ImageMaskConfiguration config, ImageBlurType blur)
 Constructs a CircleImageMask with a specified circle and configuration and blurring.
void MaskWith (ImageMasker &masker) const override
 Applies the circular mask to an image using the provided ImageMasker.

Detailed Description

Represents an image mask in the shape of a circle.

It is convenient class for masking and blurring circle.

Constructor & Destructor Documentation

◆ CircleImageMask() [1/2]

CircleImageMask ( Circle circle,
ImageMaskConfiguration config )
inline

Constructs a CircleImageMask with a specified circle and configuration.

Parameters
circleThe Circle object that defines the shape and bounds of the mask.
configThe ImageMaskConfiguration object that contains masking parameters.

◆ CircleImageMask() [2/2]

CircleImageMask ( Circle circle,
ImageMaskConfiguration config,
ImageBlurType blur )
inline

Constructs a CircleImageMask with a specified circle and configuration and blurring.

Parameters
circleThe Circle object that defines the shape and bounds of the mask.
blurType of blurring to by applied on mask-to-image transition.
configThe ImageMaskConfiguration object that contains masking parameters.

Member Function Documentation

◆ MaskWith()

void MaskWith ( ImageMasker & masker) const
inlineoverridevirtual

Applies the circular mask to an image using the provided ImageMasker.

Parameters
maskerThe ImageMasker instance used to apply the mask to an image.

Implements ImageMask.

References ImageMasker::BlurCircle(), ImageMasker::MaskCircle(), and NO_BORDER_BLURRING.

Here is the call graph for this function:

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