C# Класс WinRTXamlToolkit.Imaging.WriteableBitmapColorPickerExtensions

Extension methods for WriteableBitmap used for generating color picker bitmaps.
Показать файл Открыть проект

Открытые методы

Метод Описание
RenderColorPickerHSLHueBar ( this target, double saturation, double lightness ) : void

Renders the color picker HSL hue bar.

RenderColorPickerHSLHueBarAsync ( this target, double saturation, double lightness ) : System.Threading.Tasks.Task

Renders the color picker HSL hue bar async.

RenderColorPickerHSLLightnessBar ( this target, double hue, double saturation ) : void

Renders the color picker HSL lightness bar.

RenderColorPickerHSLLightnessBarAsync ( this target, double hue, double saturation ) : System.Threading.Tasks.Task

Renders the color picker HSL lightness bar async.

RenderColorPickerHSLSaturationBar ( this target, double hue, double lightness ) : void

Renders the color picker HSL saturation bar.

RenderColorPickerHSLSaturationBarAsync ( this target, double hue, double lightness ) : System.Threading.Tasks.Task

Renders the color picker HSL saturation bar async.

RenderColorPickerHSVHueBar ( this target, double saturation, double value ) : void

Renders the color picker HSV hue bar.

RenderColorPickerHSVHueBarAsync ( this target, double saturation, double value ) : System.Threading.Tasks.Task

Renders the color picker HSV hue bar async.

RenderColorPickerHSVSaturationBar ( this target, double hue, double value ) : void

Renders the color picker HSV saturation bar.

RenderColorPickerHSVSaturationBarAsync ( this target, double hue, double value ) : System.Threading.Tasks.Task

Renders the color picker HSV saturation bar async.

RenderColorPickerHSVValueBar ( this target, double hue, double saturation ) : void

Renders the color picker HSV value bar.

RenderColorPickerHSVValueBarAsync ( this target, double hue, double saturation ) : System.Threading.Tasks.Task

Renders the color picker HSV value bar async.

RenderColorPickerHueLightness ( this target, double saturation ) : void

Renders the color picker rectangle based on hue and lightness.

RenderColorPickerHueLightnessAsync ( this target, double saturation ) : System.Threading.Tasks.Task

Renders the color picker rectangle based on hue and lightness asynchronously.

RenderColorPickerHueRing ( this target, int innerRingRadius, int outerRingRadius ) : void

Renders the color picker hue ring.

RenderColorPickerHueRingAsync ( this target, int innerRingRadius, int outerRingRadius ) : System.Threading.Tasks.Task

Renders the color picker hue ring asynchronously.

RenderColorPickerHueValue ( this target, double saturation ) : void

Renders the color picker rectangle based on hue and value.

RenderColorPickerHueValueAsync ( this target, double saturation ) : System.Threading.Tasks.Task

Renders the color picker rectangle based on hue and value asynchronously.

RenderColorPickerRGBBlueBar ( this target, double red, double green ) : void

Renders the color picker RGB blue bar.

RenderColorPickerRGBBlueBarAsync ( this target, double red, double green ) : System.Threading.Tasks.Task

Renders the color picker RGB blue bar async.

RenderColorPickerRGBGreenBar ( this target, double red, double blue ) : void

Renders the color picker RGB green bar.

RenderColorPickerRGBGreenBarAsync ( this target, double red, double blue ) : System.Threading.Tasks.Task

Renders the color picker RGB green bar async.

RenderColorPickerRGBRedBar ( this target, double green, double blue ) : void

Renders the color picker RGB red bar.

RenderColorPickerRGBRedBarAsync ( this target, double green, double blue ) : System.Threading.Tasks.Task

Renders the color picker RGB red bar async.

RenderColorPickerSaturationLightnessRect ( this target, double hue ) : void

Renders the color picker rectangle based on saturation and lightness.

RenderColorPickerSaturationLightnessRectAsync ( this target, double hue ) : System.Threading.Tasks.Task

Renders the color picker rectangle based on saturation and lightness asynchronously.

RenderColorPickerSaturationLightnessTriangle ( this target, double hue ) : void

Renders the color picker triangle based on saturation and lightness.

RenderColorPickerSaturationLightnessTriangleAsync ( this target, double hue ) : System.Threading.Tasks.Task

Renders the color picker triangle based on saturation and lightness asynchronously.

RenderColorPickerSaturationValueRect ( this target, double hue ) : void

Renders the color picker rectangle based on saturation and value.

RenderColorPickerSaturationValueRectAsync ( this target, double hue ) : System.Threading.Tasks.Task

Renders the color picker rectangle based on saturation and value asynchronously.

RenderColorPickerSaturationValueTriangle ( this target, double hue ) : void

Renders the color picker triangle based on saturation and value.

RenderColorPickerSaturationValueTriangleAsync ( this target, double hue ) : System.Threading.Tasks.Task

Renders the color picker triangle based on saturation and value asynchronously.

Приватные методы

Метод Описание
RenderColorPickerHSLHueBarCore ( double saturation, double lightness, int pw, int ph, IBufferExtensions pixels ) : void
RenderColorPickerHSLLightnessBarCore ( double hue, double saturation, int pw, int ph, IBufferExtensions pixels ) : void
RenderColorPickerHSLSaturationBarCore ( double hue, double lightness, int pw, int ph, IBufferExtensions pixels ) : void
RenderColorPickerHSVHueBarCore ( double saturation, double value, int pw, int ph, IBufferExtensions pixels ) : void
RenderColorPickerHSVSaturationBarCore ( double hue, double value, int pw, int ph, IBufferExtensions pixels ) : void
RenderColorPickerHSVValueBarCore ( double hue, double saturation, int pw, int ph, IBufferExtensions pixels ) : void
RenderColorPickerHueLightnessCore ( double saturation, int pw, int ph, IBufferExtensions pixels ) : void
RenderColorPickerHueRingCore ( int innerRingRadius, int outerRingRadius, int pw, int ph, IBufferExtensions pixels ) : void
RenderColorPickerHueValueCore ( double saturation, int pw, int ph, IBufferExtensions pixels ) : void
RenderColorPickerRGBBlueBarCore ( double red, double green, int pw, int ph, IBufferExtensions pixels ) : void
RenderColorPickerRGBGreenBarCore ( double red, double blue, int pw, int ph, IBufferExtensions pixels ) : void
RenderColorPickerRGBRedBarCore ( double green, double blue, int pw, int ph, IBufferExtensions pixels ) : void
RenderColorPickerSaturationLightnessRectCore ( double hue, int pw, int ph, IBufferExtensions pixels ) : void
RenderColorPickerSaturationLightnessTriangleCore ( double hue, int pw, int ph, IBufferExtensions pixels ) : void
RenderColorPickerSaturationValueRectCore ( double hue, int pw, int ph, IBufferExtensions pixels ) : void
RenderColorPickerSaturationValueTriangleCore ( double hue, int ph, int hw, double invPh, int pw, IBufferExtensions pixels ) : void

Описание методов

RenderColorPickerHSLHueBar() публичный статический Метод

Renders the color picker HSL hue bar.
public static RenderColorPickerHSLHueBar ( this target, double saturation, double lightness ) : void
target this The target.
saturation double The saturation.
lightness double The lightness.
Результат void

RenderColorPickerHSLHueBarAsync() публичный статический Метод

Renders the color picker HSL hue bar async.
public static RenderColorPickerHSLHueBarAsync ( this target, double saturation, double lightness ) : System.Threading.Tasks.Task
target this The target.
saturation double The saturation.
lightness double The lightness.
Результат System.Threading.Tasks.Task

RenderColorPickerHSLLightnessBar() публичный статический Метод

Renders the color picker HSL lightness bar.
public static RenderColorPickerHSLLightnessBar ( this target, double hue, double saturation ) : void
target this The target.
hue double The hue.
saturation double The saturation.
Результат void

RenderColorPickerHSLLightnessBarAsync() публичный статический Метод

Renders the color picker HSL lightness bar async.
public static RenderColorPickerHSLLightnessBarAsync ( this target, double hue, double saturation ) : System.Threading.Tasks.Task
target this The target.
hue double The hue.
saturation double The saturation.
Результат System.Threading.Tasks.Task

RenderColorPickerHSLSaturationBar() публичный статический Метод

Renders the color picker HSL saturation bar.
public static RenderColorPickerHSLSaturationBar ( this target, double hue, double lightness ) : void
target this The target.
hue double The hue.
lightness double The lightness.
Результат void

RenderColorPickerHSLSaturationBarAsync() публичный статический Метод

Renders the color picker HSL saturation bar async.
public static RenderColorPickerHSLSaturationBarAsync ( this target, double hue, double lightness ) : System.Threading.Tasks.Task
target this The target.
hue double The hue.
lightness double The lightness.
Результат System.Threading.Tasks.Task

RenderColorPickerHSVHueBar() публичный статический Метод

Renders the color picker HSV hue bar.
public static RenderColorPickerHSVHueBar ( this target, double saturation, double value ) : void
target this The target.
saturation double The saturation.
value double The value.
Результат void

RenderColorPickerHSVHueBarAsync() публичный статический Метод

Renders the color picker HSV hue bar async.
public static RenderColorPickerHSVHueBarAsync ( this target, double saturation, double value ) : System.Threading.Tasks.Task
target this The target.
saturation double The saturation.
value double The value.
Результат System.Threading.Tasks.Task

RenderColorPickerHSVSaturationBar() публичный статический Метод

Renders the color picker HSV saturation bar.
public static RenderColorPickerHSVSaturationBar ( this target, double hue, double value ) : void
target this The target.
hue double The hue.
value double The value.
Результат void

RenderColorPickerHSVSaturationBarAsync() публичный статический Метод

Renders the color picker HSV saturation bar async.
public static RenderColorPickerHSVSaturationBarAsync ( this target, double hue, double value ) : System.Threading.Tasks.Task
target this The target.
hue double The hue.
value double The value.
Результат System.Threading.Tasks.Task

RenderColorPickerHSVValueBar() публичный статический Метод

Renders the color picker HSV value bar.
public static RenderColorPickerHSVValueBar ( this target, double hue, double saturation ) : void
target this The target.
hue double The hue.
saturation double The saturation.
Результат void

RenderColorPickerHSVValueBarAsync() публичный статический Метод

Renders the color picker HSV value bar async.
public static RenderColorPickerHSVValueBarAsync ( this target, double hue, double saturation ) : System.Threading.Tasks.Task
target this The target.
hue double The hue.
saturation double The saturation.
Результат System.Threading.Tasks.Task

RenderColorPickerHueLightness() публичный статический Метод

Renders the color picker rectangle based on hue and lightness.
public static RenderColorPickerHueLightness ( this target, double saturation ) : void
target this The target bitmap.
saturation double The saturation.
Результат void

RenderColorPickerHueLightnessAsync() публичный статический Метод

Renders the color picker rectangle based on hue and lightness asynchronously.
public static RenderColorPickerHueLightnessAsync ( this target, double saturation ) : System.Threading.Tasks.Task
target this The target bitmap.
saturation double The saturation.
Результат System.Threading.Tasks.Task

RenderColorPickerHueRing() публичный статический Метод

Renders the color picker hue ring.
public static RenderColorPickerHueRing ( this target, int innerRingRadius, int outerRingRadius ) : void
target this The target bitmap.
innerRingRadius int The inner ring radius.
outerRingRadius int The outer ring radius.
Результат void

RenderColorPickerHueRingAsync() публичный статический Метод

Renders the color picker hue ring asynchronously.
public static RenderColorPickerHueRingAsync ( this target, int innerRingRadius, int outerRingRadius ) : System.Threading.Tasks.Task
target this The target bitmap.
innerRingRadius int The inner ring radius.
outerRingRadius int The outer ring radius.
Результат System.Threading.Tasks.Task

RenderColorPickerHueValue() публичный статический Метод

Renders the color picker rectangle based on hue and value.
public static RenderColorPickerHueValue ( this target, double saturation ) : void
target this The target bitmap.
saturation double The saturation.
Результат void

RenderColorPickerHueValueAsync() публичный статический Метод

Renders the color picker rectangle based on hue and value asynchronously.
public static RenderColorPickerHueValueAsync ( this target, double saturation ) : System.Threading.Tasks.Task
target this The target bitmap.
saturation double The saturation.
Результат System.Threading.Tasks.Task

RenderColorPickerRGBBlueBar() публичный статический Метод

Renders the color picker RGB blue bar.
public static RenderColorPickerRGBBlueBar ( this target, double red, double green ) : void
target this The target.
red double The red.
green double The green.
Результат void

RenderColorPickerRGBBlueBarAsync() публичный статический Метод

Renders the color picker RGB blue bar async.
public static RenderColorPickerRGBBlueBarAsync ( this target, double red, double green ) : System.Threading.Tasks.Task
target this The target.
red double The red.
green double The green.
Результат System.Threading.Tasks.Task

RenderColorPickerRGBGreenBar() публичный статический Метод

Renders the color picker RGB green bar.
public static RenderColorPickerRGBGreenBar ( this target, double red, double blue ) : void
target this The target.
red double The red.
blue double The blue.
Результат void

RenderColorPickerRGBGreenBarAsync() публичный статический Метод

Renders the color picker RGB green bar async.
public static RenderColorPickerRGBGreenBarAsync ( this target, double red, double blue ) : System.Threading.Tasks.Task
target this The target.
red double The red.
blue double The blue.
Результат System.Threading.Tasks.Task

RenderColorPickerRGBRedBar() публичный статический Метод

Renders the color picker RGB red bar.
public static RenderColorPickerRGBRedBar ( this target, double green, double blue ) : void
target this The target.
green double The green.
blue double The blue.
Результат void

RenderColorPickerRGBRedBarAsync() публичный статический Метод

Renders the color picker RGB red bar async.
public static RenderColorPickerRGBRedBarAsync ( this target, double green, double blue ) : System.Threading.Tasks.Task
target this The target.
green double The green.
blue double The blue.
Результат System.Threading.Tasks.Task

RenderColorPickerSaturationLightnessRect() публичный статический Метод

Renders the color picker rectangle based on saturation and lightness.
public static RenderColorPickerSaturationLightnessRect ( this target, double hue ) : void
target this The target bitmap.
hue double The hue.
Результат void

RenderColorPickerSaturationLightnessRectAsync() публичный статический Метод

Renders the color picker rectangle based on saturation and lightness asynchronously.
public static RenderColorPickerSaturationLightnessRectAsync ( this target, double hue ) : System.Threading.Tasks.Task
target this The target bitmap.
hue double The hue.
Результат System.Threading.Tasks.Task

RenderColorPickerSaturationLightnessTriangle() публичный статический Метод

Renders the color picker triangle based on saturation and lightness.
public static RenderColorPickerSaturationLightnessTriangle ( this target, double hue ) : void
target this The target bitmap.
hue double The hue.
Результат void

RenderColorPickerSaturationLightnessTriangleAsync() публичный статический Метод

Renders the color picker triangle based on saturation and lightness asynchronously.
public static RenderColorPickerSaturationLightnessTriangleAsync ( this target, double hue ) : System.Threading.Tasks.Task
target this The target bitmap.
hue double The hue.
Результат System.Threading.Tasks.Task

RenderColorPickerSaturationValueRect() публичный статический Метод

Renders the color picker rectangle based on saturation and value.
public static RenderColorPickerSaturationValueRect ( this target, double hue ) : void
target this The target bitmap.
hue double The hue.
Результат void

RenderColorPickerSaturationValueRectAsync() публичный статический Метод

Renders the color picker rectangle based on saturation and value asynchronously.
public static RenderColorPickerSaturationValueRectAsync ( this target, double hue ) : System.Threading.Tasks.Task
target this The target bitmap.
hue double The hue.
Результат System.Threading.Tasks.Task

RenderColorPickerSaturationValueTriangle() публичный статический Метод

Renders the color picker triangle based on saturation and value.
public static RenderColorPickerSaturationValueTriangle ( this target, double hue ) : void
target this The target bitmap.
hue double The hue.
Результат void

RenderColorPickerSaturationValueTriangleAsync() публичный статический Метод

Renders the color picker triangle based on saturation and value asynchronously.
public static RenderColorPickerSaturationValueTriangleAsync ( this target, double hue ) : System.Threading.Tasks.Task
target this The target bitmap.
hue double The hue.
Результат System.Threading.Tasks.Task