xtd 0.2.0
Loading...
Searching...
No Matches

◆ make_transparent() [1/2]

void xtd::drawing::bitmap::make_transparent ( )

Makes the default transparent color transparent for this xtd::drawing::bitmap.

Remarks
The system palette defines one color as the default transparent, or alpha, color. This method makes the default transparent color transparent for this xtd::drawing::bitmap. If no transparent color is specified by the system, xtd::drawing::color::light_gray is the transparent color.
When you call xtd::drawing::bitmap::make_transparent, the bitmap will be converted to the xtd::drawing::imaging::pixel_format::format_32bpp_argb format, as this format supports an alpha channel.