xtd 0.2.0
blur_effect.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "effect.hpp"
6#include "../../color.hpp"
7
9namespace xtd {
11 namespace drawing {
14 namespace imaging {
16 namespace effects {
36
39 blur_effect() = default;
42 explicit blur_effect(int32 radius);
57
59
63 bool expand_edge = false;
64
69
75
76 protected:
78
83 void apply(xtd::drawing::image& image) const override;
85 };
86 }
87 }
88 }
89}
An abstract base class that provides functionality for the bitmap and metafile descended classes.
Definition image.hpp:53
Contains xtd::drawing::imaging::effects::effect struct.
int32_t int32
Represents a 32-bit signed integer.
Definition int32.hpp:23
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
The xtd::drawing::imaging::effects::blur_effect blurs the image with radius.
Definition blur_effect.hpp:34
blur_effect(int32 radius, bool expand_edge)
Initialise the new instance of xtd::drawing::imaging::blur_effect object with specified horizontal an...
blur_effect(int32 radius)
Initialise the new instance of xtd::drawing::imaging::blur_effect object with specified horizontal an...
int32 horizontal_radius
Gets or sets the horizontal radius value.
Definition blur_effect.hpp:68
blur_effect()=default
Initialise the new instance of xtd::drawing::imaging::blur_effect object.
int32 vertical_radius
Gets or sets the vertical radius value.
Definition blur_effect.hpp:73
bool expand_edge
Gets or sets a value that indicates whether the bitmap expands by an amount equal to the blur radius.
Definition blur_effect.hpp:63
blur_effect(int32 horizontal_radius, int32 vertical_radius, bool expand_edge)
Initialise the new instance of xtd::drawing::imaging::blur_effect object with specified horizontal an...
void apply(xtd::drawing::image &image) const override
Apply the effect.
blur_effect(int32 horizontal_radius, int32 vertical_radius)
Initialise the new instance of xtd::drawing::imaging::blur_effect object with specified horizontal an...
Represents the base class for all effects.
Definition effect.hpp:31