Encapsulates a xtd::drawing::brush with a radial gradient. This class cannot be inherited.
Constructors | |
| radial_gradient_brush () | |
| Initializes a new instance of the xtd::drawing::drawing_2d/::radial_gradient_brush class with default values. More... | |
| radial_gradient_brush (const xtd::drawing::point ¢er, const xtd::drawing::color &color1, const xtd::drawing::color &color2) | |
| Initializes a new instance of the xtd::drawing::drawing_2d/::radial_gradient_brush class with the specified center point and colors. More... | |
| radial_gradient_brush (const xtd::drawing::point_f ¢er, const xtd::drawing::color &color1, const xtd::drawing::color &color2) | |
| Initializes a new instance of the xtd::drawing::drawing_2d/::radial_gradient_brush class with the specified center point and colors. More... | |
| radial_gradient_brush (const xtd::drawing::point ¢er, const xtd::drawing::color &color1, const xtd::drawing::color &color2, float radius) | |
| Initializes a new instance of the xtd::drawing::drawing_2d/::radial_gradient_brush class with the specified center point ,colors and radius. More... | |
| radial_gradient_brush (const xtd::drawing::point_f ¢er, const xtd::drawing::color &color1, const xtd::drawing::color &color2, float radius) | |
| Initializes a new instance of the xtd::drawing::drawing_2d/::radial_gradient_brush class with the specified center point, colors and radiuus. More... | |
| radial_gradient_brush (const xtd::drawing::point ¢er, const std::vector< xtd::drawing::color > &radial_colors) | |
| Initializes a new instance of the xtd::drawing::drawing_2d/::radial_gradient_brush class with the specified center point and colors. More... | |
| radial_gradient_brush (const xtd::drawing::point_f ¢er, const std::vector< xtd::drawing::color > &radial_colors) | |
| Initializes a new instance of the xtd::drawing::drawing_2d/::radial_gradient_brush class with the specified center point and colors. More... | |
| radial_gradient_brush (const xtd::drawing::point ¢er, const std::vector< xtd::drawing::color > &radial_colors, float radius) | |
| Initializes a new instance of the xtd::drawing::drawing_2d/::radial_gradient_brush class with the specified center poin, colors and radius. More... | |
| radial_gradient_brush (const xtd::drawing::point_f ¢er, const std::vector< xtd::drawing::color > &radial_colors, float radius) | |
| Initializes a new instance of the xtd::drawing::drawing_2d/::radial_gradient_brush class with the specified center point, colors and radius. More... | |
Properties | |
| xtd::drawing::point_f | center_point () const noexcept |
| Gets the center point of the radial gradient. More... | |
| radial_gradient_brush & | center_point (const xtd::drawing::point_f &value) noexcept |
| Gets the center point of the radial gradient. More... | |
| radial_gradient_brush & | center_point (const xtd::drawing::point &value) noexcept |
| Sets the center point of the radial gradient. More... | |
| xtd::drawing::point_f | focal_point () const noexcept |
| Gets the focal point of the radial gradient. More... | |
| radial_gradient_brush & | focal_point (const xtd::drawing::point_f &value) noexcept |
| Sets the focal point of the radial gradient. More... | |
| radial_gradient_brush & | focal_point (const xtd::drawing::point &value) noexcept |
| Sets the focal point of the radial gradient. More... | |
| const xtd::drawing::drawing_2d::gradient_stop_collection & | radial_colors () const noexcept |
| Gets the starting and ending colors of the gradient. More... | |
| xtd::drawing::drawing_2d::radial_gradient_brush & | radial_colors (const xtd::drawing::drawing_2d::gradient_stop_collection &radial_colors) |
| sets the starting and ending colors of the gradient. More... | |
| float | radius () const noexcept |
| Gets the angle of the gradient. More... | |
| radial_gradient_brush & | radius (float value) noexcept |
| Sets the radius of the gradient. More... | |
Methods | |
| bool | equals (const radial_gradient_brush &value) const noexcept override |
Additional Inherited Members | |
Public Member Functions inherited from xtd::drawing::brush | |
| intptr | handle () const noexcept |
| Gets the handle of the brush. More... | |
| bool | equals (const brush &value) const noexcept override |
| xtd::ustring | to_string () const noexcept override |
| Converts this brush object to a human-readable string. More... | |
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... | |
Public Member Functions inherited from xtd::iequatable< brush > | |
| virtual bool | equals (const brush &) const noexcept=0 |
| Indicates whether the current object is equal to another object of the same type. More... | |
Public Member Functions inherited from xtd::iequatable< radial_gradient_brush > | |
| virtual bool | equals (const radial_gradient_brush &) 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... | |
Protected Member Functions inherited from xtd::drawing::brush | |
| brush () | |
| Initialize a new instance of brush class. More... | |
| void | set_native_brush (intptr brush) |
| In a derived class, sets a reference to a GDI+ brush object. More... | |
| xtd::drawing::drawing_2d::radial_gradient_brush::radial_gradient_brush | ( | ) |
Initializes a new instance of the xtd::drawing::drawing_2d/::radial_gradient_brush class with default values.
| xtd::drawing::drawing_2d::radial_gradient_brush::radial_gradient_brush | ( | const xtd::drawing::point & | center, |
| const xtd::drawing::color & | color1, | ||
| const xtd::drawing::color & | color2 | ||
| ) |
Initializes a new instance of the xtd::drawing::drawing_2d/::radial_gradient_brush class with the specified center point and colors.
| center | A xtd::drawing::point structure that represents the center point of the radial gradient. |
| color1 | A xtd::drawing::color structure that represents the starting color of the radial gradient. |
| color2 | A xtd::drawing::color structure that represents the ending color of the radial gradient. |
| xtd::drawing::drawing_2d::radial_gradient_brush::radial_gradient_brush | ( | const xtd::drawing::point_f & | center, |
| const xtd::drawing::color & | color1, | ||
| const xtd::drawing::color & | color2 | ||
| ) |
Initializes a new instance of the xtd::drawing::drawing_2d/::radial_gradient_brush class with the specified center point and colors.
| center | A xtd::drawing::point structure that represents the center point of the radial gradient. |
| color1 | A xtd::drawing::color structure that represents the starting color of the radial gradient. |
| color2 | A xtd::drawing::color structure that represents the ending color of the radial gradient. |
| xtd::drawing::drawing_2d::radial_gradient_brush::radial_gradient_brush | ( | const xtd::drawing::point & | center, |
| const xtd::drawing::color & | color1, | ||
| const xtd::drawing::color & | color2, | ||
| float | radius | ||
| ) |
Initializes a new instance of the xtd::drawing::drawing_2d/::radial_gradient_brush class with the specified center point ,colors and radius.
| center | A xtd::drawing::point structure that represents the center point of the radial gradient. |
| color1 | A xtd::drawing::color structure that represents the starting color of the radial gradient. |
| color2 | A xtd::drawing::color structure that represents the ending color of the radial gradient. |
| radius | A float hat represents the radius of the radial gradient. |
| xtd::drawing::drawing_2d::radial_gradient_brush::radial_gradient_brush | ( | const xtd::drawing::point_f & | center, |
| const xtd::drawing::color & | color1, | ||
| const xtd::drawing::color & | color2, | ||
| float | radius | ||
| ) |
Initializes a new instance of the xtd::drawing::drawing_2d/::radial_gradient_brush class with the specified center point, colors and radiuus.
| center | A xtd::drawing::point structure that represents the center point of the radial gradient. |
| color1 | A xtd::drawing::color structure that represents the starting color of the radial gradient. |
| color2 | A xtd::drawing::color structure that represents the ending color of the radial gradient. |
| radius | A float hat represents the radius of the radial gradient. |
| xtd::drawing::drawing_2d::radial_gradient_brush::radial_gradient_brush | ( | const xtd::drawing::point & | center, |
| const std::vector< xtd::drawing::color > & | radial_colors | ||
| ) |
Initializes a new instance of the xtd::drawing::drawing_2d/::radial_gradient_brush class with the specified center point and colors.
| center | A xtd::drawing::point structure that represents the center point of the radial gradient. |
| color1 | A xtd::drawing::color structure that represents the starting color of the radial gradient. |
| color2 | A xtd::drawing::color structure that represents the ending color of the radial gradient. |
| xtd::drawing::drawing_2d::radial_gradient_brush::radial_gradient_brush | ( | const xtd::drawing::point_f & | center, |
| const std::vector< xtd::drawing::color > & | radial_colors | ||
| ) |
Initializes a new instance of the xtd::drawing::drawing_2d/::radial_gradient_brush class with the specified center point and colors.
| center | A xtd::drawing::point structure that represents the center point of the radial gradient. |
| color1 | A xtd::drawing::color structure that represents the starting color of the radial gradient. |
| color2 | A xtd::drawing::color structure that represents the ending color of the radial gradient. |
| xtd::drawing::drawing_2d::radial_gradient_brush::radial_gradient_brush | ( | const xtd::drawing::point & | center, |
| const std::vector< xtd::drawing::color > & | radial_colors, | ||
| float | radius | ||
| ) |
Initializes a new instance of the xtd::drawing::drawing_2d/::radial_gradient_brush class with the specified center poin, colors and radius.
| center | A xtd::drawing::point structure that represents the center point of the radial gradient. |
| color1 | A xtd::drawing::color structure that represents the starting color of the radial gradient. |
| color2 | A xtd::drawing::color structure that represents the ending color of the radial gradient. |
| radius | A float hat represents the radius of the radial gradient. |
| xtd::drawing::drawing_2d::radial_gradient_brush::radial_gradient_brush | ( | const xtd::drawing::point_f & | center, |
| const std::vector< xtd::drawing::color > & | radial_colors, | ||
| float | radius | ||
| ) |
Initializes a new instance of the xtd::drawing::drawing_2d/::radial_gradient_brush class with the specified center point, colors and radius.
| center | A xtd::drawing::point structure that represents the center point of the radial gradient. |
| color1 | A xtd::drawing::color structure that represents the starting color of the radial gradient. |
| color2 | A xtd::drawing::color structure that represents the ending color of the radial gradient. |
| radius | A float hat represents the radius of the radial gradient. |
|
noexcept |
Gets the center point of the radial gradient.
|
noexcept |
Gets the center point of the radial gradient.
| value | A xtd::drawing::point_f structure that specifies the center point of the radial gradient. |
|
noexcept |
Sets the center point of the radial gradient.
| value | A xtd::drawing::point_f structure that specifies the center point of the radial gradient. |
|
noexcept |
Gets the focal point of the radial gradient.
|
noexcept |
Sets the focal point of the radial gradient.
| value | A xtd::drawing::point_f structure that specifies the focal point of the radial gradient. |
|
noexcept |
Sets the focal point of the radial gradient.
| value | A xtd::drawing::point_f structure that specifies the focal point of the radial gradient. |
|
noexcept |
Gets the starting and ending colors of the gradient.
| xtd::drawing::drawing_2d::radial_gradient_brush& xtd::drawing::drawing_2d::radial_gradient_brush::radial_colors | ( | const xtd::drawing::drawing_2d::gradient_stop_collection & | radial_colors | ) |
sets the starting and ending colors of the gradient.
| radial_colors | An array of two xtd::drawing::color structures that represents the starting and ending colors of the gradient. |
|
noexcept |
Gets the angle of the gradient.
|
noexcept |
Sets the radius of the gradient.
| value | A float that specifies the radius of the radial gradient. |