C# Class WinRTXamlToolkit.Imaging.WriteableBitmapColorPickerExtensions

Extension methods for WriteableBitmap used for generating color picker bitmaps.
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit

Méthodes publiques

Méthode 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

Méthode 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 méthode

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.
Résultat void

RenderColorPickerHSLHueBarAsync() public static méthode

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.
Résultat System.Threading.Tasks.Task

RenderColorPickerHSLLightnessBar() public static méthode

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.
Résultat void

RenderColorPickerHSLLightnessBarAsync() public static méthode

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.
Résultat System.Threading.Tasks.Task

RenderColorPickerHSLSaturationBar() public static méthode

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.
Résultat void

RenderColorPickerHSLSaturationBarAsync() public static méthode

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.
Résultat System.Threading.Tasks.Task

RenderColorPickerHSVHueBar() public static méthode

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.
Résultat void

RenderColorPickerHSVHueBarAsync() public static méthode

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.
Résultat System.Threading.Tasks.Task

RenderColorPickerHSVSaturationBar() public static méthode

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.
Résultat void

RenderColorPickerHSVSaturationBarAsync() public static méthode

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.
Résultat System.Threading.Tasks.Task

RenderColorPickerHSVValueBar() public static méthode

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.
Résultat void

RenderColorPickerHSVValueBarAsync() public static méthode

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.
Résultat System.Threading.Tasks.Task

RenderColorPickerHueLightness() public static méthode

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.
Résultat void

RenderColorPickerHueLightnessAsync() public static méthode

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.
Résultat System.Threading.Tasks.Task

RenderColorPickerHueRing() public static méthode

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.
Résultat void

RenderColorPickerHueRingAsync() public static méthode

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.
Résultat System.Threading.Tasks.Task

RenderColorPickerHueValue() public static méthode

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.
Résultat void

RenderColorPickerHueValueAsync() public static méthode

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.
Résultat System.Threading.Tasks.Task

RenderColorPickerRGBBlueBar() public static méthode

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.
Résultat void

RenderColorPickerRGBBlueBarAsync() public static méthode

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.
Résultat System.Threading.Tasks.Task

RenderColorPickerRGBGreenBar() public static méthode

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.
Résultat void

RenderColorPickerRGBGreenBarAsync() public static méthode

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.
Résultat System.Threading.Tasks.Task

RenderColorPickerRGBRedBar() public static méthode

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.
Résultat void

RenderColorPickerRGBRedBarAsync() public static méthode

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.
Résultat System.Threading.Tasks.Task

RenderColorPickerSaturationLightnessRect() public static méthode

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.
Résultat void

RenderColorPickerSaturationLightnessRectAsync() public static méthode

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.
Résultat System.Threading.Tasks.Task

RenderColorPickerSaturationLightnessTriangle() public static méthode

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.
Résultat void

RenderColorPickerSaturationLightnessTriangleAsync() public static méthode

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.
Résultat System.Threading.Tasks.Task

RenderColorPickerSaturationValueRect() public static méthode

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.
Résultat void

RenderColorPickerSaturationValueRectAsync() public static méthode

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.
Résultat System.Threading.Tasks.Task

RenderColorPickerSaturationValueTriangle() public static méthode

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.
Résultat void

RenderColorPickerSaturationValueTriangleAsync() public static méthode

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.
Résultat System.Threading.Tasks.Task