xtd 0.2.0
color_extraction_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
46
48
54
58
63
64 protected:
66
71 void apply(xtd::drawing::image& image) const override;
73 };
74 }
75 }
76 }
77}
Represents an ARGB (alpha, red, green, blue) color.
Definition color.hpp:49
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::color_extraction_effect filters image with extraction color and r...
Definition color_extraction_effect.hpp:34
int32 threshold
Gets or sets the threshold value (from 0 to 765).
Definition color_extraction_effect.hpp:53
color extraction_color
Gets or sets the extraction color.
Definition color_extraction_effect.hpp:57
color_extraction_effect(int32 threshold, color extraction_color, color other_pixels_color)
Initialise the new instance of xtd::drawing::imaging::color_extraction_effect object with specified t...
color_extraction_effect()=default
Initialise the new instance of xtd::drawing::imaging::color_extraction_effect object.
color other_pixels_color
Gets or sets the other pixels color.
Definition color_extraction_effect.hpp:61
void apply(xtd::drawing::image &image) const override
Apply the effect.
Represents the base class for all effects.
Definition effect.hpp:31