IDrawingFactory.CreateLinearGradientBrush

IDrawingFactory.CreateLinearGradientBrush method

Creates a linear gradient brush with the specified parameters.

public ILinearGradientBrush CreateLinearGradientBrush(RectangleF rect, IInterpolationColor[] colors)
ParameterTypeDescription
rectRectangleFThe rectangle defining the gradient bounds.
colorsIInterpolationColor[]The interpolation colors for the gradient. See IInterpolationColor.

Return Value

The created ILinearGradientBrush.

See Also