Components
Static Class in Zigurous.ColorPro
Declaration
public static class ComponentsDescription
Functions for getting and setting color component values.
Extension Methods
| Copy | Returns a copy of the color. |
| GetRed | Returns the red component of the color in the range [0..1]. |
| GetRed255 | Returns the red component of the color in the range [0..255]. |
| GetGreen | Returns the green component of the color in the range [0..1]. |
| GetGreen255 | Returns the green component of the color in the range [0..255]. |
| GetBlue | Returns the blue component of the color in the range [0..1]. |
| GetBlue255 | Returns the blue component of the color in the range [0..255]. |
| GetAlpha | Returns the alpha component of the color in the range [0..1]. |
| GetAlpha100 | Returns the alpha component of the color in the range [0..100]. |
| GetAlpha255 | Returns the alpha component of the color in the range [0..255]. |
| GetCyan | Returns the cyan component of the color in the range [0..1] using the CMYK color model. |
| GetCyan100 | Returns the cyan component of the color in the range [0..100] using the CMYK color model. |
| GetMagenta | Returns the magenta component of the color in the range [0..1] using the CMYK color model. |
| GetMagenta100 | Returns the magenta component of the color in the range [0..100] using the CMYK color model. |
| GetYellow | Returns the yellow component of the color in the range [0..1] using the CMYK color model. |
| GetYellow100 | Returns the yellow component of the color in the range [0..100] using the CMYK color model. |
| GetBlack | Returns the black component of the color in the range [0..1] using the CMYK color model. |
| GetBlack100 | Returns the black component of the color in the range [0..100] using the CMYK color model. |
| GetHue | Returns the hue component of the color in the range [0..1]. |
| GetHue360 | Returns the hue component of the color in the range [0..360]. |
| GetSaturationV | Returns the saturation component of the color in the range [0..1] using the HSV color model. |
| GetSaturationV100 | Returns the saturation component of the color in the range [0..100] using the HSV color model. |
| GetSaturationL | Returns the saturation component of the color in the range [0..1] using the HSL color model. |
| GetSaturationL100 | Returns the saturation component of the color in the range [0..100] using the HSL color model. |
| GetValue | Returns the "value" component of the color in the range [0..1] using the HSV color model. |
| GetValue100 | Returns the "value" component of the color in the range [0..100] using the HSV color model. |
| GetBrightness | Returns the brightness component of the color in the range [0..1] using the HSB color model. |
| GetBrightness100 | Returns the brightness component of the color in the range [0..100] using the HSB color model. |
| GetLightness | Returns the lightness component of the color in the range [0..1] using the HSL color model. |
| GetLightness100 | Returns the lightness component of the color in the range [0..100] using the HSL color model. |
| SetRed | Sets the red component of the color to the given value. |
| SetRed255 | Sets the red component of the color to the given value. |
| SetGreen | Sets the green component of the color to the given value. |
| SetGreen255 | Sets the green component of the color to the given value. |
| SetBlue | Sets the blue component of the color to the given value. |
| SetBlue255 | Sets the blue component of the color to the given value. |
| SetAlpha | Sets the alpha component of the color to the given value. |
| SetAlpha100 | Sets the alpha component of the color to the given value. |
| SetAlpha255 | Sets the alpha component of the color to the given value. |
| SetCyan | Sets the cyan component of the color to the given value using the CMYK color model. |
| SetCyan100 | Sets the cyan component of the color to the given value using the CMYK color model. |
| SetMagenta | Sets the magenta component of the color to the given value using the CMYK color model. |
| SetMagenta100 | Sets the magenta component of the color to the given value using the CMYK color model. |
| SetYellow | Sets the yellow component of the color to the given value using the CMYK color model. |
| SetYellow100 | Sets the yellow component of the color to the given value using the CMYK color model. |
| SetBlack | Sets the black component of the color to the given value using the CMYK color model. |
| SetBlack100 | Sets the black component of the color to the given value using the CMYK color model. |
| SetHue | Sets the hue component of the color to the given value. |
| SetHue360 | Sets the hue component of the color to the given value. |
| SetSaturationV | Sets the saturation component of the color to the given value using the HSV color model. |
| SetSaturationV100 | Sets the saturation component of the color to the given value using the HSV color model. |
| SetSaturationL | Sets the saturation component of the color to the given value using the HSL color model. |
| SetSaturationL100 | Sets the saturation component of the color to the given value using the HSL color model. |
| SetValue | Sets the "value" component of the color to the given value using the HSV color model. |
| SetValue100 | Sets the "value" component of the color to the given value using the HSV color model. |
| SetBrightness | Sets the brightness component of the color to the given value using the HSB color model. |
| SetBrightness100 | Sets the brightness component of the color to the given value using the HSB color model. |
| SetLightness | Sets the lightness component of the color to the given value using the HSL color model. |
| SetLightness100 | Sets the lightness component of the color to the given value using the HSL color model. |
| WithRed | Returns a copy of the color with a new red component value. |
| WithRed255 | Returns a copy of the color with a new red component value. |
| WithGreen | Returns a copy of the color with a new green component value. |
| WithGreen255 | Returns a copy of the color with a new green component value. |
| WithBlue | Returns a copy of the color with a new blue component value. |
| WithBlue255 | Returns a copy of the color with a new blue component value. |
| WithAlpha | Returns a copy of the color with a new alpha component value. |
| WithAlpha100 | Returns a copy of the color with a new alpha component value. |
| WithAlpha255 | Returns a copy of the color with a new alpha component value. |
| WithCyan | Returns a copy of the color with a new cyan component value using the CMYK color model. |
| WithCyan100 | Returns a copy of the color with a new cyan component value using the CMYK color model. |
| WithMagenta | Returns a copy of the color with a new magenta component value using the CMYK color model. |
| WithMagenta100 | Returns a copy of the color with a new magenta component value using the CMYK color model. |
| WithYellow | Returns a copy of the color with a new yellow component value using the CMYK color model. |
| WithYellow100 | Returns a copy of the color with a new yellow component value using the CMYK color model. |
| WithBlack | Returns a copy of the color with a new black component value using the CMYK color model. |
| WithBlack100 | Returns a copy of the color with a new black component value using the CMYK color model. |
| WithHue | Returns a copy of the color with a new hue component value. |
| WithHue360 | Returns a copy of the color with a new hue component value. |
| WithSaturationV | Returns a copy of the color with a new saturation component value using the HSV color model. |
| WithSaturationV100 | Returns a copy of the color with a new saturation component value using the HSV color model. |
| WithSaturationL | Returns a copy of the color with a new saturation component value using the HSL color model. |
| WithSaturationL100 | Returns a copy of the color with a new saturation component value using the HSL color model. |
| WithValue | Returns a copy of the color with a new "value" component value using the HSV color model. |
| WithValue100 | Returns a copy of the color with a new "value" component value using the HSV color model. |
| WithBrightness | Returns a copy of the color with a new brightness component value using the HSB color model. |
| WithBrightness100 | Returns a copy of the color with a new brightness component value using the HSB color model. |
| WithLightness | Returns a copy of the color with a new lightness component value using the HSL color model. |
| WithLightness100 | Returns a copy of the color with a new lightness component value using the HSL color model. |