System::Drawing::Drawing2D::ColorBlend class
Contents
[
Hide
]ColorBlend class
Contains arrays of colors and positions used for interpolating color blending in a multicolor gradient. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class ColorBlend : public System::Object
Methods
Method | Description |
---|---|
ColorBlend() | Constructs a new instance of ColorBlend class. |
ColorBlend(int) | Constructs a new instance of Blend class. |
get_Colors() | Returns an array of colors to use at corresponding positions along a gradient. |
get_Positions() | Returns the array of blend positions along a gradient. |
set_Colors(const ArrayPtr<Color>&) | Sets an array of colors to use at corresponding positions along a gradient. |
set_Positions(const ArrayPtr<float>&) | Sets the array of blend positions along a gradient. |
See Also
- Class Object
- Namespace System::Drawing::Drawing2D
- Library Aspose.Page for C++