The style specifies the shadow of text and elements.
Public Fields | |
| static const shadow | empty |
| Provides a xtd::forms::style_sheets::shadow object with no xtd::forms::style_sheets::shadow. | |
Public Constructors | |
| shadow ()=default | |
| Initializes a new instance of the xtd::forms::style_sheets::shadow class. | |
| shadow (const xtd::drawing::point &offset, int32 radius, const xtd::drawing::color &color) | |
| Initializes a new instance of the xtd::forms::style_sheets::shadow class with the offset point, radius, and color. | |
Peorperties | |
| const xtd::drawing::color & | color () const noexcept |
| Gets the shadow color. | |
| void | color (const xtd::drawing::color &value) noexcept |
| Sets the shadow color. | |
| const xtd::drawing::point & | offset () const noexcept |
| Gets the shadow offset in pixels. | |
| void | offset (const xtd::drawing::point &value) noexcept |
| Sets the shadow offset point in pixels. | |
| int32 | radius () const noexcept |
| Gets the shadow blurring radius in pixels. | |
| void | radius (int32 value) noexcept |
| Sets the shadow blurring radius in pixels. | |
Public Methods | |
| bool | equals (const xtd::object &obj) const noexcept override |
| Determines whether the specified object is equal to the current object. | |
| bool | equals (const shadow &other) const noexcept override |
| Determines whether the specified object is equal to the current object. | |
| xtd::usize | get_hash_code () const noexcept override |
| Serves as a hash function for a particular type. | |
Additional Inherited Members | |
| virtual bool | equals (const shadow &) const noexcept=0 |
| Indicates whether the current object is equal to another object of the same type. | |
| object ()=default | |
| Create a new instance of the ultimate base class object. | |
| virtual type_object | get_type () const noexcept |
| Gets the type of the current instance. | |
| template<typename object_t> | |
| xtd::unique_ptr_object< object_t > | memberwise_clone () const |
| Creates a shallow copy of the current object. | |
| virtual xtd::string | to_string () const |
| Returns a xtd::string that represents the current object. | |
| template<typename object_a_t, typename object_b_t> | |
| static bool | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
| Determines whether the specified object instances are considered equal. | |
| template<typename object_a_t, typename object_b_t> | |
| static bool | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
| Determines whether the specified object instances are the same instance. | |
|
default |
Initializes a new instance of the xtd::forms::style_sheets::shadow class.
| xtd::forms::style_sheets::shadow::shadow | ( | const xtd::drawing::point & | offset, |
| int32 | radius, | ||
| const xtd::drawing::color & | color ) |
Initializes a new instance of the xtd::forms::style_sheets::shadow class with the offset point, radius, and 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.
|
noexcept |
Sets the shadow blurring radius in pixels.
| value | The shadow blurring radius. |
|
overridevirtualnoexcept |
Determines whether the specified object is equal to the current object.
| obj | The object to compare with the current object. |
Reimplemented from xtd::object.
|
overridenoexcept |
Determines whether the specified object is equal to the current object.
| other | The object to compare with the current object. |
|
overridevirtualnoexcept |
Serves as a hash function for a particular type.
Reimplemented from xtd::object.
|
static |
Provides a xtd::forms::style_sheets::shadow object with no xtd::forms::style_sheets::shadow.