BCGSoft.Shared Namespace > DrawManager Class : DrawShadow Method |
Specifies the rectangular area to draw the shadow under.
Specifies the shadow's width and height.
Specifies the minimum brightness value for the shadow.
Specifies the maximum brightness value for the shadow.
Specifies the (base) color of the shadow.
'Declaration Public Function DrawShadow( _ ByVal rect As Rectangle, _ ByVal nDepth As Integer, _ ByVal iMinBrightness As Integer, _ ByVal iMaxBrightness As Integer, _ ByVal colorBase As Color _ ) As Boolean
'Usage Dim instance As DrawManager Dim rect As Rectangle Dim nDepth As Integer Dim iMinBrightness As Integer Dim iMaxBrightness As Integer Dim colorBase As Color Dim value As Boolean value = instance.DrawShadow(rect, nDepth, iMinBrightness, iMaxBrightness, colorBase)
public bool DrawShadow( Rectangle rect, int nDepth, int iMinBrightness, int iMaxBrightness, Color colorBase )
Specifies the rectangular area to draw the shadow under.
Specifies the shadow's width and height.
Specifies the minimum brightness value for the shadow.
Specifies the maximum brightness value for the shadow.
Specifies the (base) color of the shadow.
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