|
Draw a rectangle and uses a brush to fill the interior of a rectangle.
Public Function DrawFillRectangle( _ ByVal iLeft As Integer, _ ByVal iTop As Integer, _ ByVal iWidth As Integer, _ ByVal iHeight As Integer, _ ByVal clrColor As Color, _ ByVal iAlpha As Integer, _ ByVal bAntiAlias As Bool )
|
Parameter
iLeft Specifies the x-coordinate of the upper-left corner of the rectangle.
iTop Specifies the y-coordinate of the upper-left corner of the rectangle.
iWidth Specifies the width of the rectangle.
iHeight Specifies the height of the rectangle.
clrColor Specifies the color of the rectangle.
iAlpha Specifies the alpha value of the ellipse color. The range from 0-255. 255 is fully visible.
bAntiAlias true - enable Anti-Aliasing algorithm, false - disable Anti-Aliasing algorithm.
Return Value
No return value.
Example
|
Visual Basic Syntax ImageViewer1.DrawFillRectangle 0, 0, 30, 100, RGB(255, 255, 0), 100, True
|
|
|