An abstract base class that provides functionality for the bitmap and metafile descended classes.
Definition image.hpp:49
Contains xtd::drawing::color class.
Contains xtd::drawing::imaging::effects::effect struct.
std::int32_t int32
Represents a 32-bit signed integer.
Definition int32.hpp:23
The xtd::drawing::imaging::effects namespace provides functionality for adding effects to images.
Definition bitonal_effect.hpp:16
The xtd::drawing::imaging namespace provides advanced GDI+ imaging functionality. Basic graphics func...
Definition bitmap_data.hpp:15
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Represents the base class for all effects.
Definition effect.hpp:31
posterize_effect(int32 levels)
Initialise the new instance of xtd::drawing::imaging::posterize_effect object with specified levels.
void apply(xtd::drawing::image &image) const override
Apply the effect.
int32 levels
Gets or sets the levels value (from 1 to 256).
Definition posterize_effect.hpp:54
posterize_effect()=default
Initialise the new instance of xtd::drawing::imaging::posterize_effect object.