BCGSoft.Shared Namespace > DrawManager Class : DrawGradientRing Method |
Specifies a rectangular area to fill.
Specifies the color to start.
Specifies the color to finish.
Specifies the border color.
Specifies the angle to start from. This value should be within 0-360 interval.
Specifies the width of the rings' border.
Specifies the color of the rings' interior.
'Declaration Public Function DrawGradientRing( _ ByVal rect As Rectangle, _ ByVal colorStart As Color, _ ByVal colorFinish As Color, _ ByVal colorBorder As Color, _ ByVal nAngle As Integer, _ ByVal nWidth As Integer, _ ByVal clrFace As Color _ ) As Boolean
'Usage Dim instance As DrawManager Dim rect As Rectangle Dim colorStart As Color Dim colorFinish As Color Dim colorBorder As Color Dim nAngle As Integer Dim nWidth As Integer Dim clrFace As Color Dim value As Boolean value = instance.DrawGradientRing(rect, colorStart, colorFinish, colorBorder, nAngle, nWidth, clrFace)
public bool DrawGradientRing( Rectangle rect, Color colorStart, Color colorFinish, Color colorBorder, int nAngle, int nWidth, Color clrFace )
public: bool DrawGradientRing( Rectangle rect, Color colorStart, Color colorFinish, Color colorBorder, int nAngle, int nWidth, Color clrFace )
public: bool DrawGradientRing( Rectangle rect, Color colorStart, Color colorFinish, Color colorBorder, int nAngle, int nWidth, Color clrFace )
Specifies a rectangular area to fill.
Specifies the color to start.
Specifies the color to finish.
Specifies the border color.
Specifies the angle to start from. This value should be within 0-360 interval.
Specifies the width of the rings' border.
Specifies the color of the rings' interior.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2