MobileForms Toolkit Documentation

GraphicsEx.DrawVistaGradient Method (Graphics, Color, Rectangle, FillDirection)

Draws a vista gradient specified by a Color and Rectangle structure.

public static void DrawVistaGradient(
Graphics gr,
Color color,
Rectangle destRect,
FillDirection fillDirection
);

Parameters

gr
Graphics to use.
color
A GradientColor that determines the color of the vista gradient.
destRect
A Rectangle structure that represents the rectangle to draw.
fillDirection
A FillDirection that determines the direction of the vista gradient.

See Also

GraphicsEx Class | Resco.Drawing Namespace | GraphicsEx.DrawVistaGradient Overload List