The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
The xtd::drawing::imaging::effects::posterize_effect posterizes the image with color levels.
Definition posterize_effect.hpp:34
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.