FillShadedGradient(Color,Int32) Method
In This Topic
Set the
Brush to be a linear gradient starting with a very light version of the color, having the middle with a color lighter than , and ending with a darker color than the .
Syntax
public void FillShadedGradient(
Color ,
int
)
Parameters
- color
- a Color from which the gradient colors are derived, keeping the same hue
- spot
- one of four GoObject spots: GoObject.MiddleTop, GoObject.MiddleLeft, GoObject.TopLeft, GoObject.TopRight, from which to start the gradient, towards the opposite spot
See Also