|
Enrollment 28.2.0
|
Represents an image mask in the shape of a circle. More...
#include <ImageMask.h>
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. | |
Represents an image mask in the shape of a circle.
It is convenient class for masking and blurring circle.
|
inline |
Constructs a CircleImageMask with a specified circle and configuration.
| circle | The Circle object that defines the shape and bounds of the mask. |
| config | The ImageMaskConfiguration object that contains masking parameters. |
|
inline |
Constructs a CircleImageMask with a specified circle and configuration and blurring.
| circle | The Circle object that defines the shape and bounds of the mask. |
| blur | Type of blurring to by applied on mask-to-image transition. |
| config | The ImageMaskConfiguration object that contains masking parameters. |
|
inlineoverridevirtual |
Applies the circular mask to an image using the provided ImageMasker.
| masker | The ImageMasker instance used to apply the mask to an image. |
Implements ImageMask.
References ImageMasker::BlurCircle(), ImageMasker::MaskCircle(), and NO_BORDER_BLURRING.