set_LinearColors()

LinearGradientBrush::set_LinearColors(const ArrayPtr<Color>&) method

Sets starting and ending colors of this gradient.

void System::Drawing::Drawing2D::LinearGradientBrush::set_LinearColors(const ArrayPtr<Color> &value)

Arguments

ParameterTypeDescription
valueconst ArrayPtr<Color>&Array of two colors

See Also