C# Class WinRTXamlToolkit.Imaging.WriteableBitmapColorPickerExtensions

Extension methods for WriteableBitmap used for generating color picker bitmaps.
Datei anzeigen Open project: xyzzer/WinRTXamlToolkit

Public Methods

Method Description
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.

Private Methods

Method Description
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

Method Details

RenderColorPickerHSLHueBar() public static method

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.
return void

RenderColorPickerHSLHueBarAsync() public static method

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.
return System.Threading.Tasks.Task

RenderColorPickerHSLLightnessBar() public static method

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.
return void

RenderColorPickerHSLLightnessBarAsync() public static method

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.
return System.Threading.Tasks.Task

RenderColorPickerHSLSaturationBar() public static method

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.
return void

RenderColorPickerHSLSaturationBarAsync() public static method

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.
return System.Threading.Tasks.Task

RenderColorPickerHSVHueBar() public static method

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.
return void

RenderColorPickerHSVHueBarAsync() public static method

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.
return System.Threading.Tasks.Task

RenderColorPickerHSVSaturationBar() public static method

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.
return void

RenderColorPickerHSVSaturationBarAsync() public static method

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.
return System.Threading.Tasks.Task

RenderColorPickerHSVValueBar() public static method

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.
return void

RenderColorPickerHSVValueBarAsync() public static method

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.
return System.Threading.Tasks.Task

RenderColorPickerHueLightness() public static method

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.
return void

RenderColorPickerHueLightnessAsync() public static method

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.
return System.Threading.Tasks.Task

RenderColorPickerHueRing() public static method

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.
return void

RenderColorPickerHueRingAsync() public static method

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.
return System.Threading.Tasks.Task

RenderColorPickerHueValue() public static method

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.
return void

RenderColorPickerHueValueAsync() public static method

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.
return System.Threading.Tasks.Task

RenderColorPickerRGBBlueBar() public static method

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.
return void

RenderColorPickerRGBBlueBarAsync() public static method

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.
return System.Threading.Tasks.Task

RenderColorPickerRGBGreenBar() public static method

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.
return void

RenderColorPickerRGBGreenBarAsync() public static method

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.
return System.Threading.Tasks.Task

RenderColorPickerRGBRedBar() public static method

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.
return void

RenderColorPickerRGBRedBarAsync() public static method

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.
return System.Threading.Tasks.Task

RenderColorPickerSaturationLightnessRect() public static method

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.
return void

RenderColorPickerSaturationLightnessRectAsync() public static method

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.
return System.Threading.Tasks.Task

RenderColorPickerSaturationLightnessTriangle() public static method

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.
return void

RenderColorPickerSaturationLightnessTriangleAsync() public static method

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.
return System.Threading.Tasks.Task

RenderColorPickerSaturationValueRect() public static method

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.
return void

RenderColorPickerSaturationValueRectAsync() public static method

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.
return System.Threading.Tasks.Task

RenderColorPickerSaturationValueTriangle() public static method

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.
return void

RenderColorPickerSaturationValueTriangleAsync() public static method

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.
return System.Threading.Tasks.Task