xtd 0.2.0
solarize_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 solarize_effect() = default;
44
46
52
53 protected:
55
60 void apply(xtd::drawing::image& image) const override;
62 };
63 }
64 }
65 }
66}
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
Represents the base class for all effects.
Definition effect.hpp:31
The xtd::drawing::imaging::effects::solarize_effect solarizes the image with threashold.
Definition solarize_effect.hpp:34
solarize_effect()=default
Initialise the new instance of xtd::drawing::imaging::solarize_effect object.
void apply(xtd::drawing::image &image) const override
Apply the effect.
solarize_effect(int32 threshold)
Initialise the new instance of xtd::drawing::imaging::solarize_effect object with specified threshold...
int32 threshold
Gets or sets the threshold value (from 0 to 255).
Definition solarize_effect.hpp:50