Partager via


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.

public:
 static void ThemePixelWithExtraContrast(System::Byte % r, System::Byte % g, System::Byte % b, Microsoft::VisualStudio::Imaging::HslColor background);
public static void ThemePixelWithExtraContrast (ref byte r, ref byte g, ref byte b, Microsoft.VisualStudio.Imaging.HslColor background);
static member ThemePixelWithExtraContrast : byte * byte * byte * Microsoft.VisualStudio.Imaging.HslColor -> unit
Public Sub ThemePixelWithExtraContrast (ByRef r As Byte, ByRef g As Byte, ByRef b As Byte, background As HslColor)

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