BCGSoft.Shared Namespace > DrawManager Class : PrepareShadowBitmap Method |
Specifies the shadow width and height.
Specifies the boundaries of the area to draw a shadow.
TRUE - horizontal orientation of the shadow, FALSE - vertical orientation.
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 Shared Function PrepareShadowBitmap( _ ByVal grph As Graphics, _ ByVal nDepth As Integer, _ ByVal rect As Rectangle, _ ByVal horz As Boolean, _ ByVal iMinBrightness As Integer, _ ByVal iMaxBrightness As Integer, _ ByVal colorBase As Color _ ) As Bitmap
'Usage Dim grph As Graphics Dim nDepth As Integer Dim rect As Rectangle Dim horz As Boolean Dim iMinBrightness As Integer Dim iMaxBrightness As Integer Dim colorBase As Color Dim value As Bitmap value = DrawManager.PrepareShadowBitmap(grph, nDepth, rect, horz, iMinBrightness, iMaxBrightness, colorBase)
public static Bitmap PrepareShadowBitmap( Graphics grph, int nDepth, Rectangle rect, bool horz, int iMinBrightness, int iMaxBrightness, Color colorBase )
Specifies the shadow width and height.
Specifies the boundaries of the area to draw a shadow.
TRUE - horizontal orientation of the shadow, FALSE - vertical orientation.
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