Encapsulates a xtd::drawing::brush with a conical gradient. This class cannot be inherited.
Constructors | |
| conical_gradient_brush () | |
| Initializes a new instance of the xtd::drawing::drawing_2d/::conical_gradient_brush class with default values. More... | |
| conical_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/::conical_gradient_brush class with the specified center point and colors. More... | |
| conical_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/::conical_gradient_brush class with the specified center point and colors. More... | |
| conical_gradient_brush (const xtd::drawing::point ¢er, const xtd::drawing::color &color1, const xtd::drawing::color &color2, float angle) | |
| Initializes a new instance of the xtd::drawing::drawing_2d/::conical_gradient_brush class with the specified center point ,colors and angle. More... | |
| conical_gradient_brush (const xtd::drawing::point_f ¢er, const xtd::drawing::color &color1, const xtd::drawing::color &color2, float angle) | |
| Initializes a new instance of the xtd::drawing::drawing_2d/::conical_gradient_brush class with the specified center point, colors and radiuus. More... | |
| conical_gradient_brush (const xtd::drawing::point ¢er, const std::vector< xtd::drawing::color > &conical_colors) | |
| Initializes a new instance of the xtd::drawing::drawing_2d/::conical_gradient_brush class with the specified center point and colors. More... | |
| conical_gradient_brush (const xtd::drawing::point_f ¢er, const std::vector< xtd::drawing::color > &conical_colors) | |
| Initializes a new instance of the xtd::drawing::drawing_2d/::conical_gradient_brush class with the specified center point and colors. More... | |
| conical_gradient_brush (const xtd::drawing::point ¢er, const std::vector< xtd::drawing::color > &conical_colors, float angle) | |
| Initializes a new instance of the xtd::drawing::drawing_2d/::conical_gradient_brush class with the specified center poin, colors and angle. More... | |
| conical_gradient_brush (const xtd::drawing::point_f ¢er, const std::vector< xtd::drawing::color > &conical_colors, float angle) | |
| Initializes a new instance of the xtd::drawing::drawing_2d/::conical_gradient_brush class with the specified center point, colors and angle. More... | |
Properties | |
| float | angle () const noexcept |
| Gets the angle of the gradient. More... | |
| conical_gradient_brush & | angle (float value) noexcept |
| Sets the angle of the gradient. More... | |
| xtd::drawing::point_f | center_point () const noexcept |
| Gets the center point of the conical gradient. More... | |
| conical_gradient_brush & | center_point (const xtd::drawing::point_f &value) noexcept |
| Gets the center point of the conical gradient. More... | |
| conical_gradient_brush & | center_point (const xtd::drawing::point &value) noexcept |
| Sets the center point of the conical gradient. More... | |
| const xtd::drawing::drawing_2d::gradient_stop_collection & | conical_colors () const noexcept |
| Gets the starting and ending colors of the gradient. More... | |
| xtd::drawing::drawing_2d::conical_gradient_brush & | conical_colors (const xtd::drawing::drawing_2d::gradient_stop_collection &conical_colors) |
| sets the starting and ending colors of the gradient. More... | |
Methods | |
| bool | equals (const conical_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< conical_gradient_brush > | |
| virtual bool | equals (const conical_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::conical_gradient_brush::conical_gradient_brush | ( | ) |
Initializes a new instance of the xtd::drawing::drawing_2d/::conical_gradient_brush class with default values.
| xtd::drawing::drawing_2d::conical_gradient_brush::conical_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/::conical_gradient_brush class with the specified center point and colors.
| center | A xtd::drawing::point structure that represents the center point of the conical gradient. |
| color1 | A xtd::drawing::color structure that represents the starting color of the conical gradient. |
| color2 | A xtd::drawing::color structure that represents the ending color of the conical gradient. |
| xtd::drawing::drawing_2d::conical_gradient_brush::conical_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/::conical_gradient_brush class with the specified center point and colors.
| center | A xtd::drawing::point structure that represents the center point of the conical gradient. |
| color1 | A xtd::drawing::color structure that represents the starting color of the conical gradient. |
| color2 | A xtd::drawing::color structure that represents the ending color of the conical gradient. |
| xtd::drawing::drawing_2d::conical_gradient_brush::conical_gradient_brush | ( | const xtd::drawing::point & | center, |
| const xtd::drawing::color & | color1, | ||
| const xtd::drawing::color & | color2, | ||
| float | angle | ||
| ) |
Initializes a new instance of the xtd::drawing::drawing_2d/::conical_gradient_brush class with the specified center point ,colors and angle.
| center | A xtd::drawing::point structure that represents the center point of the conical gradient. |
| color1 | A xtd::drawing::color structure that represents the starting color of the conical gradient. |
| color2 | A xtd::drawing::color structure that represents the ending color of the conical gradient. |
| angle | A float hat represents the angle of the conical gradient. |
| xtd::drawing::drawing_2d::conical_gradient_brush::conical_gradient_brush | ( | const xtd::drawing::point_f & | center, |
| const xtd::drawing::color & | color1, | ||
| const xtd::drawing::color & | color2, | ||
| float | angle | ||
| ) |
Initializes a new instance of the xtd::drawing::drawing_2d/::conical_gradient_brush class with the specified center point, colors and radiuus.
| center | A xtd::drawing::point structure that represents the center point of the conical gradient. |
| color1 | A xtd::drawing::color structure that represents the starting color of the conical gradient. |
| color2 | A xtd::drawing::color structure that represents the ending color of the conical gradient. |
| angle | A float hat represents the angle of the conical gradient. |
| xtd::drawing::drawing_2d::conical_gradient_brush::conical_gradient_brush | ( | const xtd::drawing::point & | center, |
| const std::vector< xtd::drawing::color > & | conical_colors | ||
| ) |
Initializes a new instance of the xtd::drawing::drawing_2d/::conical_gradient_brush class with the specified center point and colors.
| center | A xtd::drawing::point structure that represents the center point of the conical gradient. |
| color1 | A xtd::drawing::color structure that represents the starting color of the conical gradient. |
| color2 | A xtd::drawing::color structure that represents the ending color of the conical gradient. |
| xtd::drawing::drawing_2d::conical_gradient_brush::conical_gradient_brush | ( | const xtd::drawing::point_f & | center, |
| const std::vector< xtd::drawing::color > & | conical_colors | ||
| ) |
Initializes a new instance of the xtd::drawing::drawing_2d/::conical_gradient_brush class with the specified center point and colors.
| center | A xtd::drawing::point structure that represents the center point of the conical gradient. |
| color1 | A xtd::drawing::color structure that represents the starting color of the conical gradient. |
| color2 | A xtd::drawing::color structure that represents the ending color of the conical gradient. |
| xtd::drawing::drawing_2d::conical_gradient_brush::conical_gradient_brush | ( | const xtd::drawing::point & | center, |
| const std::vector< xtd::drawing::color > & | conical_colors, | ||
| float | angle | ||
| ) |
Initializes a new instance of the xtd::drawing::drawing_2d/::conical_gradient_brush class with the specified center poin, colors and angle.
| center | A xtd::drawing::point structure that represents the center point of the conical gradient. |
| color1 | A xtd::drawing::color structure that represents the starting color of the conical gradient. |
| color2 | A xtd::drawing::color structure that represents the ending color of the conical gradient. |
| angle | A float hat represents the angle of the conical gradient. |
| xtd::drawing::drawing_2d::conical_gradient_brush::conical_gradient_brush | ( | const xtd::drawing::point_f & | center, |
| const std::vector< xtd::drawing::color > & | conical_colors, | ||
| float | angle | ||
| ) |
Initializes a new instance of the xtd::drawing::drawing_2d/::conical_gradient_brush class with the specified center point, colors and angle.
| center | A xtd::drawing::point structure that represents the center point of the conical gradient. |
| color1 | A xtd::drawing::color structure that represents the starting color of the conical gradient. |
| color2 | A xtd::drawing::color structure that represents the ending color of the conical gradient. |
| angle | A float hat represents the angle of the conical gradient. |
|
noexcept |
Gets the angle of the gradient.
|
noexcept |
Sets the angle of the gradient.
| value | A float that specifies the angle of the conicalconical gradient. |
|
noexcept |
Gets the center point of the conical gradient.
|
noexcept |
Gets the center point of the conical gradient.
| value | A xtd::drawing::point_f structure that specifies the center point of the angle gradient. |
|
noexcept |
Sets the center point of the conical gradient.
| value | A xtd::drawing::point_f structure that specifies the center point of the angle gradient. |
|
noexcept |
Gets the starting and ending colors of the gradient.
| xtd::drawing::drawing_2d::conical_gradient_brush& xtd::drawing::drawing_2d::conical_gradient_brush::conical_colors | ( | const xtd::drawing::drawing_2d::gradient_stop_collection & | conical_colors | ) |
sets the starting and ending colors of the gradient.
| conical_colors | An array of two xtd::drawing::color structures that represents the starting and ending colors of the gradient. |