private static DrawLinearGradientItem ( |
||
g | ||
backRect | ||
colors | LinearItemColors | |
return | void |
private static void DrawLinearGradientItem(Graphics g,
Rectangle backRect,
LinearItemColors colors)
{
// Cannot paint a zero sized area
if ((backRect.Width > 0) && (backRect.Height > 0))
{
// Draw the background of the entire item
DrawLinearGradientBack(g, backRect, colors);
// Draw the border of the entire item
DrawLinearGradientBorder(g, backRect, colors);
}
}