Encapsulates a xtd::drawing::brush with a conical gradient. This class cannot be inherited.
Public Constructors | |
| conical_gradient_brush () | |
| Initializes a new instance of the xtd::drawing::drawing_2d::conical_gradient_brush class with default values.   | |
| 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.   | |
| 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.   | |
| 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.   | |
| 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.   | |
| 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.   | |
| 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.   | |
| 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.   | |
| 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.   | |
Public Properties | |
| float | angle () const noexcept | 
| Gets the angle of the gradient.   | |
| conical_gradient_brush & | angle (float value) noexcept | 
| Sets the angle of the gradient.   | |
| xtd::drawing::point_f | center_point () const noexcept | 
| Gets the center point of the conical gradient.   | |
| conical_gradient_brush & | center_point (const xtd::drawing::point_f &value) noexcept | 
| Gets the center point of the conical gradient.   | |
| conical_gradient_brush & | center_point (const xtd::drawing::point &value) noexcept | 
| Sets the center point of the conical gradient.   | |
| const xtd::drawing::drawing_2d::gradient_stop_collection & | conical_colors () const noexcept | 
| Gets the starting and ending colors of the gradient.   | |
| 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.   | |
Public Methods | |
| bool | equals (const conical_gradient_brush &value) const noexcept override | 
| bool | equals (const brush &value) const noexcept override | 
| virtual bool | equals (const object &obj) const noexcept | 
| Determines whether the specified object is equal to 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.   | |
Additional Inherited Members | |
  Public Member Functions inherited from xtd::drawing::brush | |
| intptr | handle () const noexcept | 
| Gets the handle of the brush.   | |
| bool | equals (const brush &value) const noexcept override | 
| xtd::string | to_string () const noexcept override | 
| Converts this brush object to a human-readable string.   | |
  Public Member Functions inherited from xtd::object | |
| object ()=default | |
| Create a new instance of the ultimate base class object.   | |
| virtual size_t | get_hash_code () const noexcept | 
| Serves as a hash function for a particular type.   | |
| virtual type_object | get_type () const noexcept | 
| Gets the type of the current instance.   | |
| template<typename object_t > | |
| xtd::uptr< object_t > | memberwise_clone () const | 
| Creates a shallow copy of the current object.   | |
  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.   | |
  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.   | |
  Static Public Member Functions inherited from xtd::drawing::brush | |
| 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.   | |
  Static Public Member Functions inherited from xtd::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.   | |
  Protected Member Functions inherited from xtd::drawing::brush | |
| brush () | |
| Initialize a new instance of brush class.   | |
| void | set_native_brush (intptr brush) | 
| In a derived class, sets a reference to a GDI+ brush object.   | |
| 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. | 
      
  | 
  virtualnoexcept | 
Determines whether the specified object is equal to the current object.
| obj | The object to compare with the current object. | 
Reimplemented from xtd::drawing::brush.
      
  | 
  inlinestaticnoexcept | 
Determines whether the specified object instances are considered equal.
| object_a | The first object to compare. | 
| object_b | The second object to compare. |