Represents a shadow within a xtd::forms::shadow_label control.
Constructors | |
| shadow () | |
| Initializes a new instance of the xtd::forms::shadow class. More... | |
| shadow (int32 x, int32 y) | |
| Initializes a new instance of the xtd::forms::shadow class with the specified offset x, and offset y. More... | |
| shadow (int32 x, int32 y, int32 radius) | |
| Initializes a new instance of the xtd::forms::shadow class with the specified offset x, offset y, and radius. More... | |
| shadow (int32 x, int32 y, const xtd::drawing::color &color) | |
| Initializes a new instance of the xtd::forms::shadow class with the specified offset x, offset y and color. More... | |
| shadow (int32 x, int32 y, int32 radius, const xtd::drawing::color &color) | |
| Initializes a new instance of the xtd::forms::shadow class with the specified offset x, offset y, and color. More... | |
| shadow (const xtd::drawing::point &offset) | |
| Initializes a new instance of the xtd::forms::shadow class with the specified offset point. More... | |
| shadow (const xtd::drawing::point &offset, int32 radius) | |
| Initializes a new instance of the xtd::forms::shadow class with the specified offset point, and radius. More... | |
| shadow (const xtd::drawing::point &offset, const xtd::drawing::color &color) | |
| Initializes a new instance of the xtd::forms::shadow class with the specified offset point, and color. More... | |
| shadow (const xtd::drawing::point &offset, int32 radius, const xtd::drawing::color &color) | |
| Initializes a new instance of the xtd::forms::shadow class with the specified offset point, radius, and color. More... | |
Properties | |
| const xtd::drawing::color & | color () const noexcept |
| Gets the shadow color. More... | |
| shadow & | color (const xtd::drawing::color &value) noexcept |
| Sets the shadow color. More... | |
| const xtd::drawing::point & | offset () const noexcept |
| Gets the shadow offset in pixels. More... | |
| shadow & | offset (const xtd::drawing::point &value) noexcept |
| Sets the shadow offset point in pixels. More... | |
| int32 | radius () const noexcept |
| Gets the shadow blurring radius in pixels. More... | |
| shadow & | radius (int32 value) noexcept |
| Sets the shadow blurring radius in pixels. More... | |
| int32 | x () const noexcept |
| Gets the shadow offset x in pixels. More... | |
| shadow & | x (int32 value) noexcept |
| Sets the shadow offset x in pixels. More... | |
| int32 | y () const noexcept |
| Gets the shadow offset y in pixels. More... | |
| shadow & | y (int32 value) noexcept |
| Sets the shadow offset y in pixels. More... | |
Methods | |
| bool | equals (const shadow &other) const noexcept override |
Additional Inherited Members | |
Public Member Functions inherited from xtd::object | |
| object ()=default | |
| Create a new instance of the ultimate base class object. More... | |
| bool | equals (const object &obj) const noexcept |
| Determines whether the specified object is equal to the current object. More... | |
| virtual size_t | get_hash_code () const noexcept |
| Serves as a hash function for a particular type. More... | |
| virtual type_object | get_type () const noexcept |
| Gets the type of the current instance. More... | |
| template<typename object_t > | |
| std::unique_ptr< object_t > | memberwise_clone () const noexcept |
| Creates a shallow copy of the current object. More... | |
| virtual xtd::ustring | to_string () const noexcept |
| Returns a sxd::ustring that represents the current object. More... | |
Public Member Functions inherited from xtd::iequatable< shadow > | |
| virtual bool | equals (const shadow &) const noexcept=0 |
| Indicates whether the current object is equal to another object of the same type. More... | |
Static Public Member Functions inherited from xtd::object | |
| static bool | equals (const object &object_a, const object &object_b) noexcept |
| Determines whether the specified object instances are considered equal. More... | |
| static bool | reference_equals (const object &object_a, const object &object_b) noexcept |
| Determines whether the specified object instances are the same instance. More... | |
| xtd::forms::shadow::shadow | ( | ) |
Initializes a new instance of the xtd::forms::shadow class.
| Property | Initial Value |
|---|---|
| color | xtd::application::style_sheet().system_colors().shadow_text() |
| offset x | 2 |
| offset y | 2 |
| radius | 0 |
Initializes a new instance of the xtd::forms::shadow class with the specified offset x, and offset y.
| x | The shadow offset x in pixels. |
| y | The shadow offset y in pixels. |
Initializes a new instance of the xtd::forms::shadow class with the specified offset x, offset y, and radius.
| x | The shadow offset x in pixels. |
| y | The shadow offset y in pixels. |
| radius | The shadow blurring radius. |
| xtd::forms::shadow::shadow | ( | int32 | x, |
| int32 | y, | ||
| const xtd::drawing::color & | color | ||
| ) |
Initializes a new instance of the xtd::forms::shadow class with the specified offset x, offset y and color.
| x | The shadow offset x in pixels. |
| y | The shadow offset y in pixels. |
| xtd::forms::shadow::shadow | ( | int32 | x, |
| int32 | y, | ||
| int32 | radius, | ||
| const xtd::drawing::color & | color | ||
| ) |
Initializes a new instance of the xtd::forms::shadow class with the specified offset x, offset y, and color.
| x | The shadow offset x in pixels. |
| y | The shadow offset y in pixels. |
| radius | The shadow blurring radius. |
|
explicit |
Initializes a new instance of the xtd::forms::shadow class with the specified offset point.
| offset | The shadow offset point in pixels. |
| xtd::forms::shadow::shadow | ( | const xtd::drawing::point & | offset, |
| int32 | radius | ||
| ) |
Initializes a new instance of the xtd::forms::shadow class with the specified offset point, and radius.
| offset | The shadow offset point in pixels. |
| radius | The shadow blurring radius. |
| xtd::forms::shadow::shadow | ( | const xtd::drawing::point & | offset, |
| const xtd::drawing::color & | color | ||
| ) |
Initializes a new instance of the xtd::forms::shadow class with the specified offset point, and color.
| offset | The shadow offset point in pixels. |
| color | The shadow color. |
| xtd::forms::shadow::shadow | ( | const xtd::drawing::point & | offset, |
| int32 | radius, | ||
| const xtd::drawing::color & | color | ||
| ) |
Initializes a new instance of the xtd::forms::shadow class with the specified offset point, radius, and color.
| offset | The shadow offset point in pixels. |
| radius | The shadow blurring radius. |
| color | The shadow color. |
|
noexcept |
Gets the shadow color.
|
noexcept |
Sets the shadow color.
| value | The shadow color. |
|
noexcept |
Gets the shadow offset in pixels.
|
noexcept |
Sets the shadow offset point in pixels.
| value | The shadow offset point. |
|
noexcept |
Gets the shadow blurring radius in pixels.
Sets the shadow blurring radius in pixels.
| value | The shadow blurring radius. |
|
noexcept |
Gets the shadow offset x in pixels.
Sets the shadow offset x in pixels.
| value | The shadow offset x. |
|
noexcept |
Gets the shadow offset y in pixels.
Sets the shadow offset y in pixels.
| value | The shadow offset y. |