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

◆ make_transparent() [2/2]

void xtd::drawing::bitmap::make_transparent ( const color transparent_color)

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

Parameters
transprent_colorThe xtd::drawing::color structure that represents the color to make transparent.
Remarks
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.