private DrawLinearGradient ( Color topColor ) : void | ||
topColor | Color | |
리턴 | void |
private void DrawLinearGradient(Color topColor)
{
using (var lgb =
new LinearGradientBrush(this._brightnessRectangle, topColor,
Color.Black, LinearGradientMode.Vertical))
{
this._graphics.FillRectangle(lgb, this._brightnessRectangle);
}
}