Пример #1
0
 /// <summary>
 /// Creates a new instance of the <see cref="ColorCMY"/> class
 /// </summary>
 /// <param name="space">The ICC space for this color</param>
 public ColorCMY(ColorspaceICC space)
     : base(space, 0, 0, 0)
 {
 }
Пример #2
0
 /// <summary>
 /// Creates a new instance of the <see cref="ColorCMY"/> class
 /// </summary>
 /// <param name="C">Value for the Cyan channel</param>
 /// <param name="M">Value for the Magenta channel</param>
 /// <param name="Y">Value for the Yellow channel</param>
 /// <param name="space">The ICC space for this color</param>
 public ColorCMY(double C, double M, double Y, ColorspaceICC space)
     : base(space, C, M, Y)
 {
 }
Пример #3
0
 /// <summary>
 /// Creates a new instance of the <see cref="ColorYCbCr"/> class
 /// </summary>
 /// <param name="Y">Value for the Y channel</param>
 /// <param name="Cr">Value for the Cr channel</param>
 /// <param name="Cb">Value for the Cb channel</param>
 /// <param name="space">The ICC space for this color</param>
 public ColorYCbCr(double Y, double Cb, double Cr, ColorspaceICC space)
     : base(space, Y, Cb, Cr)
 {
 }
Пример #4
0
 /// <summary>
 /// Creates a new instance of the <see cref="ColorHSx"/> class
 /// </summary>
 /// <param name="H">Value for the Hue channel</param>
 /// <param name="S">Value for the Saturation channel</param>
 /// <param name="x">Value for the X channel</param>
 /// <param name="space">The ICC space for this color</param>
 protected ColorHSx(double H, double S, double x, ColorspaceICC space)
     : base(space, H, S, x)
 {
 }
Пример #5
0
 /// <summary>
 /// Creates a new instance of the <see cref="ColorLuv"/> class
 /// </summary>
 /// <param name="space">The ICC space for this color</param>
 public ColorLuv(ColorspaceICC space)
     : base(space, 0, 0, 0)
 {
 }
Пример #6
0
 /// <summary>
 /// Creates a new instance of the <see cref="ColorXYZ"/> class
 /// </summary>
 /// <param name="space">The ICC space for this color</param>
 public ColorXYZ(ColorspaceICC space)
     : base(space, 0, 0, 0)
 {
 }
Пример #7
0
 /// <summary>
 /// Creates a new instance of the <see cref="ColorHSL"/> class
 /// </summary>
 /// <param name="H">Value for the Hue channel</param>
 /// <param name="S">Value for the Saturation channel</param>
 /// <param name="L">Value for the Lightness channel</param>
 /// <param name="space">The ICC space for this color</param>
 public ColorHSL(double H, double S, double L, ColorspaceICC space)
     : base(H, S, L, space)
 {
 }
Пример #8
0
 /// <summary>
 /// Creates a new instance of the <see cref="ColorGray"/> class
 /// </summary>
 /// <param name="space">The ICC space for this color</param>
 public ColorGray(ColorspaceICC space)
     : base(space, 0)
 {
 }
Пример #9
0
 /// <summary>
 /// Creates a new instance of the <see cref="ColorHSV"/> class
 /// </summary>
 /// <param name="H">Value for the Hue channel</param>
 /// <param name="S">Value for the Saturation channel</param>
 /// <param name="V">Value for the Value channel</param>
 /// <param name="space">The ICC space for this color</param>
 public ColorHSV(double H, double S, double V, ColorspaceICC space)
     : base(H, S, V, space)
 {
 }
Пример #10
0
 /// <summary>
 /// Creates a new instance of the <see cref="ColorHSL"/> class
 /// </summary>
 /// <param name="space">The ICC space for this color</param>
 public ColorHSL(ColorspaceICC space)
     : base(space)
 {
 }
Пример #11
0
 /// <summary>
 /// Creates a new instance of the <see cref="ColorYxy"/> class
 /// </summary>
 /// <param name="Y">Value for the Y channel</param>
 /// <param name="x">Value for the x channel</param>
 /// <param name="y">Value for the y channel</param>
 /// <param name="space">The ICC space for this color</param>
 public ColorYxy(double Y, double x, double y, ColorspaceICC space)
     : base(space, Y, x, y)
 {
 }
Пример #12
0
 /// <summary>
 /// Creates a new instance of the <see cref="ColorYxy"/> class
 /// </summary>
 /// <param name="space">The ICC space for this color</param>
 public ColorYxy(ColorspaceICC space)
     : base(space, 0, 0, 0)
 {
 }
Пример #13
0
 /// <summary>
 /// Creates a new instance of the <see cref="ColorCMYK"/> class
 /// </summary>
 /// <param name="C">Value for the Cyan channel</param>
 /// <param name="M">Value for the Magenta channel</param>
 /// <param name="Y">Value for the Yellow channel</param>
 /// <param name="K">Value for the Key (Black) channel</param>
 /// <param name="space">The ICC space for this color</param>
 public ColorCMYK(double C, double M, double Y, double K, ColorspaceICC space)
     : base(space, C, M, Y, K)
 {
 }
Пример #14
0
 /// <summary>
 /// Creates a new instance of the <see cref="ColorX"/> class
 /// </summary>
 /// <param name="space">The ICC space for this color</param>
 /// <param name="channelCount">The number of channels for this color (Max=15, Min=2)</param>
 public ColorX(ColorspaceICC space, int channelCount)
     : base(space, new double[channelCount])
 {
     InitArrays();
 }
Пример #15
0
 /// <summary>
 /// Creates a new instance of the <see cref="ColorLab"/> class
 /// </summary>
 /// <param name="L">Value for the Lightness channel</param>
 /// <param name="a">Value for the a channel</param>
 /// <param name="b">Value for the b channel</param>
 /// <param name="space">The ICC space for this color</param>
 public ColorLab(double L, double a, double b, ColorspaceICC space)
     : base(space, L, a, b)
 {
 }
Пример #16
0
 /// <summary>
 /// Creates a new instance of the <see cref="ColorX"/> class
 /// </summary>
 /// <param name="space">The ICC space for this color</param>
 /// <param name="values">The values for this color (Length Max=15, Min=2)</param>
 public ColorX(ColorspaceICC space, params double[] values)
     : base(space, values)
 {
     InitArrays();
 }
Пример #17
0
 /// <summary>
 /// Creates a new instance of the <see cref="ColorRGB"/> class
 /// </summary>
 /// <param name="space">The ICC space for this color</param>
 public ColorRGB(ColorspaceICC space)
     : base(space, 0, 0, 0)
 {
 }
Пример #18
0
 /// <summary>
 /// Creates a new instance of the <see cref="ColorGray"/> class
 /// </summary>
 /// <param name="G">Value for the Gray channel</param>
 /// <param name="space">The ICC space for this color</param>
 public ColorGray(double G, ColorspaceICC space)
     : base(space, G)
 {
 }
Пример #19
0
 /// <summary>
 /// Creates a new instance of the <see cref="ColorRGB"/> class
 /// </summary>
 /// <param name="R">Value for the Red channel</param>
 /// <param name="G">Value for the Green channel</param>
 /// <param name="B">Value for the Blue channel</param>
 /// <param name="space">The ICC space for this color</param>
 public ColorRGB(double R, double G, double B, ColorspaceICC space)
     : base(space, R, G, B)
 {
 }
Пример #20
0
 /// <summary>
 /// Creates a new instance of the <see cref="ColorLuv"/> class
 /// </summary>
 /// <param name="L">Value for the Lightness channel</param>
 /// <param name="u">Value for the u channel</param>
 /// <param name="v">Value for the v channel</param>
 /// <param name="space">The ICC space for this color</param>
 public ColorLuv(double L, double u, double v, ColorspaceICC space)
     : base(space, L, u, v)
 {
 }
Пример #21
0
 /// <summary>
 /// Creates a new instance of the <see cref="ColorHSx"/> class
 /// </summary>
 /// <param name="space">The ICC space for this color</param>
 protected ColorHSx(ColorspaceICC space)
     : base(space, 0, 0, 0)
 {
 }
Пример #22
0
 /// <summary>
 /// Creates a new instance of the <see cref="ColorXYZ"/> class
 /// </summary>
 /// <param name="X">Value for the X channel</param>
 /// <param name="Y">Value for the Y channel</param>
 /// <param name="Z">Value for the Z channel</param>
 /// <param name="space">The ICC space for this color</param>
 public ColorXYZ(double X, double Y, double Z, ColorspaceICC space)
     : base(space, X, Y, Z)
 {
 }
Пример #23
0
 /// <summary>
 /// Creates a new instance of the <see cref="ColorYCbCr"/> class
 /// </summary>
 /// <param name="space">The ICC space for this color</param>
 public ColorYCbCr(ColorspaceICC space)
     : base(space, 0, 0, 0)
 {
 }