ImageThemingUtilities.ThemePixelWithExtraContrast Method

Definition

Themes the R, G, and B components of an individual pixel. Use this if the results from ThemePixel(Byte, Byte, Byte, HslColor, Boolean) result in insufficient contrast with the background.

C++
public:
 static void ThemePixelWithExtraContrast(System::Byte % r, System::Byte % g, System::Byte % b, Microsoft::VisualStudio::Imaging::HslColor background);

Parameters

r
Byte

The R component of the pixel

g
Byte

The G component of the pixel

b
Byte

The B component of the pixel

background
HslColor

The background HSL color

Applies to

Product Versions
Visual Studio SDK 2022