Udostępnij za pośrednictwem


ImageThemingUtilities.ThemePixel Method

Definition

Overloads

ThemePixel(Byte, Byte, Byte, HslColor)

Themes the R, G, and B components of an individual pixel.

ThemePixel(Byte, Byte, Byte, HslColor, Boolean)

Themes the R, G, and B components of an individual pixel.

ThemePixel(Byte, Byte, Byte, HslColor)

Themes the R, G, and B components of an individual pixel.

public:
 static void ThemePixel(System::Byte % r, System::Byte % g, System::Byte % b, Microsoft::VisualStudio::Imaging::HslColor background);
public static void ThemePixel (ref byte r, ref byte g, ref byte b, Microsoft.VisualStudio.Imaging.HslColor background);
static member ThemePixel : byte * byte * byte * Microsoft.VisualStudio.Imaging.HslColor -> unit
Public Sub ThemePixel (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

ThemePixel(Byte, Byte, Byte, HslColor, Boolean)

Themes the R, G, and B components of an individual pixel.

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

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

isHighContrast
Boolean

If the pixel should be themed for HC

Applies to