6#include "../../color.hpp"
7#include "../../system_colors.hpp"
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.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
The xtd::drawing::imaging::effects::crop_effect crops the image with new rectangle.
Definition crop_effect.hpp:36
void size(const xtd::drawing::size &value)
Sets the new size.
crop_effect(const xtd::drawing::rectangle &rectangle)
Initialise the new instance of xtd::drawing::imaging::crop_effect with specified rectangle.
void apply(xtd::drawing::image &image) const override
Apply the effect.
crop_effect(const xtd::drawing::size &size)
Initialise the new instance of xtd::drawing::imaging::crop_effect with specified size.
xtd::drawing::rectangle rectangle
Gets or sets the new rectangle.
Definition crop_effect.hpp:56
crop_effect()=default
Initialise the new instance of xtd::drawing::imaging::crop_effect object.
Represents the base class for all effects.
Definition effect.hpp:31
Stores a set of four integers that represent the location and size of a rectangle.
Definition rectangle.hpp:44
Stores an ordered pair of integers, which specify a height and width.
Definition size.hpp:31