xtd 0.2.0
drop_shadow_effect.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "effect.hpp"
6#include "../../color.hpp"
7#include "../../system_colors.hpp"
8
10namespace xtd {
12 namespace drawing {
15 namespace imaging {
17 namespace effects {
37
40 drop_shadow_effect() = default;
54
56
68
69 protected:
71
76 void apply(xtd::drawing::image& image) const override;
78 };
79 }
80 }
81 }
82}
Represents an ARGB (alpha, red, green, blue) color.
Definition color.hpp:49
static const xtd::drawing::color black
Gets a system-defined color that has an ARGB value of 0xFF000000. This field is constant.
Definition color.hpp:83
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::drop_shadow_effect add a vertical and/or horizontal shadow to the...
Definition drop_shadow_effect.hpp:35
drop_shadow_effect()=default
Initialise the new instance of xtd::drawing::imaging::drop_shadow_effect object.
void apply(xtd::drawing::image &image) const override
Apply the effect.
int32 blur
Gets or sets the shadow blur radius.
Definition drop_shadow_effect.hpp:60
drop_shadow_effect(const xtd::drawing::size &shadow, int32 blur)
Initialise the new instance of xtd::drawing::imaging::drop_shadow_effect with horizontal and vertical...
drop_shadow_effect(const xtd::drawing::size &shadow, int32 blur, const xtd::drawing::color &color)
Initialise the new instance of xtd::drawing::imaging::drop_shadow_effect with horizontal and vertical...
xtd::drawing::size shadow
Gets or sets the horizontal and vertical shadow.
Definition drop_shadow_effect.hpp:66
drop_shadow_effect(const xtd::drawing::size &shadow)
Initialise the new instance of xtd::drawing::imaging::drop_shadow_effect with horizontal and vertical...
Represents the base class for all effects.
Definition effect.hpp:31
Stores an ordered pair of integers, which specify a height and width.
Definition size.hpp:31