System::Drawing::Drawing2D::Blend class

Blend class

Represents a blend pattern for a LinearGradientBrush object. 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 Blend : public System::Object

Methods

MethodDescription
Blend()Constructs a new instance of Blend class.
Blend(int)Constructs a new instance of Blend class.
get_Factors() constReturns the array of blend factors of the gradient.
get_Positions() constReturns the array of blend positions of the gradient.
set_Factors(const ArrayPtr<float>&)Sets the array of blend factors of the gradient.
set_Positions(const ArrayPtr<float>&)Sets the array of blend positions of the gradient.

See Also