MPfm: Music Player for Musicians - Developer Documentation - 0.6.0.0
RenderBackgroundGradient Method (g, rect, rectBorder, rectGradient, gradient)
NamespacesMPfm.WindowsControlsPaintHelperRenderBackgroundGradient(Graphics, RectangleF, RectangleF, RectangleF, BackgroundGradient)
Renders a gradient using the BackgroundGradient properties.
Declaration Syntax
C#Visual Basic
public static void RenderBackgroundGradient(
	Graphics g,
	RectangleF rect,
	RectangleF rectBorder,
	RectangleF rectGradient,
	BackgroundGradient gradient
)
Public Shared Sub RenderBackgroundGradient ( _
	g As Graphics, _
	rect As RectangleF, _
	rectBorder As RectangleF, _
	rectGradient As RectangleF, _
	gradient As BackgroundGradient _
)
Parameters
g (Graphics)
Graphics object to render to
rect (RectangleF)
Rectangle to fill with the gradient
rectBorder (RectangleF)
Rectangle used for the border
rectGradient (RectangleF)
Rectangle defining the gradient size
gradient (BackgroundGradient)
BackgroundGradient object

Assembly: MPfm.WindowsControls (Module: MPfm.WindowsControls) Version: 0.5.3.0 (0.5.3.0)