|
Draw an ellipse on image and uses a brush to fill the interior of an ellipse.
Public Function DrawFillEllipse( _ ByVal iX As Integer, _ ByVal iY As Integer, _ ByVal iWidth As Integer, _ ByVal iHeight As Integer, _ ByVal clrColor As Color, _ ByVal iAlpha As Integer, _ ByVal bAntiAlias As Bool )
|
Parameter
iX Specifies the x-coordinate of the upper-left corner of the rectangle that bounds the ellipse.
iY Specifies the y-coordinate of the upper-left corner of the rectangle that bounds the ellipse.
iWidth Specifies the width of the rectangle that bounds the ellipse.
iHeight Specifies the height of the rectangle that bounds the ellipse.
clrColor Specifies the color of the ellipse.
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.DrawFillEllipse 400, 0, 100, 200, RGB(0, 0, 255), 100, True
|
|
|