ToShadowBitmap(GcBitmap,Color,Single,Boolean) Method
In This Topic
Converts an existing instance of
GcBitmap to a semi-transparent bitmap representing the current
GrayscaleBitmap.
This method treats the current GrayscaleBitmap as a transparency mask, regardless of the TransparencyMask property value.
Syntax
'Declaration
Public Overloads Sub ToShadowBitmap( _
ByVal As GcBitmap, _
ByVal shadowColor As System.Drawing.Color, _
Optional ByVal As System.Single, _
Optional ByVal As System.Boolean _
)
public void ToShadowBitmap(
GcBitmap ,
System.Drawing.Color shadowColor,
System.float ,
System.bool
)
Parameters
- bmp
- The target GcBitmap object.
- shadowColor
- The color to fill opaque pixels of the target bitmap.
- opacityFactor
- Additional factor to scale the alpha channel.
- zeroIsOpaque
- Specifies whether zero values correspond to fully opaque (true) or fully transparent (false) pixels.
See Also