###User Defined Function###
_GDIPlus_LineBrushCreateFromRect

###Description###
Creates a LinearGradientBrush object from a rectangle and boundary colors

###Syntax###
#include <GDIPlus.au3>
_GDIPlus_LineBrushCreateFromRect ( $tRectF, $iARGBClr1, $iARGBClr2 [, $iGradientMode = 0 [, $iWrapMode = 0]] )


###Parameters###
@@ParamTable@@
$tRectF
	$tagGDIPRECTF that specifies the starting and ending points of the gradient
$iARGBClr1
	Alpha, Red, Green and Blue components of the starting color of the line
$iARGBClr2
	Alpha, Red, Green and Blue components of the ending color of the line
$iGradientMode
	[optional] The direction of the gradient:
		0 - Horizontal direction from the left of the display to the right of the display
		1 - Vertical direction from the top of the display to the bottom of the display
		2 - Forward diagonal direction from the upper-left corner to the lower-right corner of the display
		3 - Backward diagonal direction from the upper-right corner to the lower-left corner of the display
$iWrapMode
	[optional] Specifies how areas filled with the brush are tiled:
		0 - Tiling without flipping
		1 - Tiles are flipped horizontally as you move from one tile to the next in a row
		2 - Tiles are flipped vertically as you move from one tile to the next in a column
		3 - Tiles are flipped horizontally as you move along a row and flipped vertically as you move along a column
		4 - No tiling takes place
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	Pointer to a new LinearGradientBrush object
Failure:	0
@@End@@


###Remarks###
After you are done with the object, call <a href="_GDIPlus_BrushDispose.htm">_GDIPlus_BrushDispose()</a> to release the object resources.


###Related###
_GDIPlus_BrushDispose


###See Also###
@@MsdnLink@@ GdipCreateLineBrushFromRect


###Example###
@@IncludeExample@@
