CmykColor Class
Summary: The CMYK color of pixel.
Module: aspose.imaging
Full Name: aspose.imaging.CmykColor
Constructors
Name | Description |
---|---|
CmykColor() | Initializes a new instance of the CmykColor class |
Properties
Name | Type | Access | Description |
---|---|---|---|
c | byte | r | Gets the cyan component value of this Color structure. |
empty [static] | CmykColor | r | Gets the empty. |
is_empty | bool | r | Gets a value indicating whether this Color structure is uninitialized. |
k | byte | r | Gets the black component value of this Color structure. |
m | byte | r | Gets the magenta component value of this Color structure. |
y | byte | r | Gets the yellow component value of this Color structure. |
Methods
Name | Description |
---|---|
from_params(cyan, magenta, yellow, black) | Creates a CmykColor structure from a 32-bit cyan, magenta, yellow and black values. This method is deprecated. Please use more effective CmykColorHelper.from_components(cyan, magenta, yellow, black). |
to_argb32(cmyk_pixels) | The conversion from CMYKColor to 32-bit ARGB Color using icc conversion with default profiles. This method is deprecated. Please use more effective CmykColorHelper.to_argb32(cmyk_pixels). |
to_cmyk(argb_pixel) | The conversion from 32-bit ARGB color to CMYKColor. This method is deprecated. Please use more effective CmykColorHelper.to_cmyk(argb_pixels). |
to_cmyk(argb_pixels) | The conversion from 32-bit ARGB color to CMYKColor. This method is deprecated. Please use more effective CmykColorHelper.to_cmyk(argb_pixels). |
to_cmyk_color(argb_pixel) | The conversion from 32-bit ARGB to CMYKColor. This method is deprecated. Please use more effective CmykColorHelper.to_cmyk(argb_pixel). |
to_cmyk_colors(argb_pixels) | The conversion from 32-bit ARGB color to CMYKColor. This method is deprecated. Please use more effective CmykColorHelper.to_cmyk(argb_pixels). |
to_color(cmyk_pixel) | The conversion from CMYKColor to Color using icc conversion with default profiles. This method is deprecated. Please use more effective CmykColorHelper.to_argb(cmyk_pixels). |
to_color(cmyk_pixels) | The conversion from CMYKColor to Color using icc conversion with default profiles. This method is deprecated. Please use more effective CmykColorHelper.to_argb(cmyk_pixels). |
to_color_icc(cmyk_pixel) | The conversion from CMYKColor to Color using icc conversion with default profiles. This method is deprecated. Please use more effective CmykColorHelper.to_argb_icc(cmyk_pixels). |
to_color_icc(cmyk_pixel, cmyk_icc_stream, rgb_icc_stream) | The conversion from CMYKColor to Color using icc conversion. This method is deprecated. Please use more effective Aspose.Imaging.CmykColorHelper.ToArgbIcc(int[],_io.BufferedRandom,_io.BufferedRandom). |
to_color_icc(cmyk_pixels) | The conversion from CMYKColor to Color using icc conversion with default profiles. This method is deprecated. Please use more effective CmykColorHelper.to_argb_icc(cmyk_pixels). |
to_color_icc(cmyk_pixels, cmyk_icc_stream, rgb_icc_stream) | The conversion from CMYKColor to Color using icc conversion. This method is deprecated. Please use more effective Aspose.Imaging.CmykColorHelper.ToArgbIcc(int[],_io.BufferedRandom,_io.BufferedRandom). |
to_color_with_def_icc(cmyk_pixels) | The conversion from CMYKColor to Color using icc conversion with default profiles. This method is deprecated. Please use more effective CmykColorHelper.to_argb_icc(cmyk_pixel). |
to_color_with_icc(cmyk_pixels, cmyk_icc_stream, rgb_icc_stream) | The conversion from CMYKColor to Color using icc conversion. This method is deprecated. Please use more effective Aspose.Imaging.CmykColorHelper.ToArgbIcc(int,_io.BufferedRandom,_io.BufferedRandom). |
to_colors(cmyk_pixels) | The conversion from CMYKColor to Color using icc conversion with default profiles. This method is deprecated. Please use more effective CmykColorHelper.to_argb(cmyk_pixels). |
to_colors_with_def_icc(cmyk_pixels) | The conversion from CMYKColor to Color using icc conversion with default profiles. This method is deprecated. Please use more effective CmykColorHelper.to_argb_icc(cmyk_pixels). |
to_colors_with_icc(cmyk_pixels, cmyk_icc_stream, rgb_icc_stream) | The conversion from CMYKColor to Color using icc conversion. This method is deprecated. Please use more effective Aspose.Imaging.CmykColorHelper.ToArgbIcc(int[],_io.BufferedRandom,_io.BufferedRandom). |
to_value() | The to value. |
Constructor: CmykColor()
CmykColor()
Initializes a new instance of the CmykColor class
Method: from_params(cyan, magenta, yellow, black) [static]
from_params(cyan, magenta, yellow, black)
Creates a CmykColor structure from a 32-bit cyan, magenta, yellow and black values.
This method is deprecated. Please use more effective CmykColorHelper.from_components(cyan, magenta, yellow, black).
Parameters:
Parameter | Type | Description |
---|---|---|
cyan | int | The cyan component. Valid values are 0 through 255. |
magenta | int | The magenta component. Valid values are 0 through 255. |
yellow | int | The yellow component. Valid values are 0 through 255. |
black | int | The black component. Valid values are 0 through 255. |
Returns
Type | Description |
---|---|
CmykColor | The CmykColor. |
Method: to_argb32(cmyk_pixels) [static]
to_argb32(cmyk_pixels)
The conversion from CMYKColor to 32-bit ARGB Color using icc conversion with default profiles.
This method is deprecated. Please use more effective CmykColorHelper.to_argb32(cmyk_pixels).
Parameters:
Parameter | Type | Description |
---|---|---|
cmyk_pixels | CmykColor[] | The pixels of CMYKColor type in CMYK format. |
Returns
Type | Description |
---|---|
int | The array of the 32-bit ARGB color. |
Method: to_cmyk(argb_pixel) [static]
to_cmyk(argb_pixel)
The conversion from 32-bit ARGB color to CMYKColor.
This method is deprecated. Please use more effective CmykColorHelper.to_cmyk(argb_pixels).
Parameters:
Parameter | Type | Description |
---|---|---|
argb_pixel | int |
Returns
Type | Description |
---|---|
CmykColor | The CmykColor[]. |
Method: to_cmyk(argb_pixels) [static]
to_cmyk(argb_pixels)
The conversion from 32-bit ARGB color to CMYKColor.
This method is deprecated. Please use more effective CmykColorHelper.to_cmyk(argb_pixels).
Parameters:
Parameter | Type | Description |
---|---|---|
argb_pixels | int | The pixels of 32-bit ARGB format. |
Returns
Type | Description |
---|---|
CmykColor[] | The CmykColor[]. |
Method: to_cmyk_color(argb_pixel) [static]
to_cmyk_color(argb_pixel)
The conversion from 32-bit ARGB to CMYKColor.
This method is deprecated. Please use more effective CmykColorHelper.to_cmyk(argb_pixel).
Parameters:
Parameter | Type | Description |
---|---|---|
argb_pixel | int | The pixel of 32-bit ARGB format. |
Returns
Type | Description |
---|---|
CmykColor | The CmykColor. |
Method: to_cmyk_colors(argb_pixels) [static]
to_cmyk_colors(argb_pixels)
The conversion from 32-bit ARGB color to CMYKColor.
This method is deprecated. Please use more effective CmykColorHelper.to_cmyk(argb_pixels).
Parameters:
Parameter | Type | Description |
---|---|---|
argb_pixels | int | The pixels of 32-bit ARGB format. |
Returns
Type | Description |
---|---|
CmykColor[] | The CmykColor[]. |
Method: to_color(cmyk_pixel) [static]
to_color(cmyk_pixel)
The conversion from CMYKColor to Color using icc conversion with default profiles.
This method is deprecated. Please use more effective CmykColorHelper.to_argb(cmyk_pixels).
Parameters:
Parameter | Type | Description |
---|---|---|
cmyk_pixel | CmykColor |
Returns
Type | Description |
---|---|
Color | The array of the ARGB colors. |
Method: to_color(cmyk_pixels) [static]
to_color(cmyk_pixels)
The conversion from CMYKColor to Color using icc conversion with default profiles.
This method is deprecated. Please use more effective CmykColorHelper.to_argb(cmyk_pixels).
Parameters:
Parameter | Type | Description |
---|---|---|
cmyk_pixels | CmykColor[] | The pixels of CMYKColor type in CMYK format. |
Returns
Type | Description |
---|---|
Color[] | The array of the ARGB colors. |
Method: to_color_icc(cmyk_pixel) [static]
to_color_icc(cmyk_pixel)
The conversion from CMYKColor to Color using icc conversion with default profiles.
This method is deprecated. Please use more effective CmykColorHelper.to_argb_icc(cmyk_pixels).
Parameters:
Parameter | Type | Description |
---|---|---|
cmyk_pixel | CmykColor |
Returns
Type | Description |
---|---|
Color | The Color[]. |
Method: to_color_icc(cmyk_pixel, cmyk_icc_stream, rgb_icc_stream) [static]
to_color_icc(cmyk_pixel, cmyk_icc_stream, rgb_icc_stream)
The conversion from CMYKColor to Color using icc conversion.
This method is deprecated. Please use more effective Aspose.Imaging.CmykColorHelper.ToArgbIcc(int[],_io.BufferedRandom,_io.BufferedRandom).
Parameters:
Parameter | Type | Description |
---|---|---|
cmyk_pixel | CmykColor | |
cmyk_icc_stream | _io.BufferedRandom | The stream containing icc cmyk profile. |
rgb_icc_stream | _io.BufferedRandom | The stream containing icc rgb profile. |
Returns
Type | Description |
---|---|
Color | The Color[]. |
Method: to_color_icc(cmyk_pixels) [static]
to_color_icc(cmyk_pixels)
The conversion from CMYKColor to Color using icc conversion with default profiles.
This method is deprecated. Please use more effective CmykColorHelper.to_argb_icc(cmyk_pixels).
Parameters:
Parameter | Type | Description |
---|---|---|
cmyk_pixels | CmykColor[] | The pixels of CMYKColor type in CMYK format. |
Returns
Type | Description |
---|---|
Color[] | The Color[]. |
Method: to_color_icc(cmyk_pixels, cmyk_icc_stream, rgb_icc_stream) [static]
to_color_icc(cmyk_pixels, cmyk_icc_stream, rgb_icc_stream)
The conversion from CMYKColor to Color using icc conversion.
This method is deprecated. Please use more effective Aspose.Imaging.CmykColorHelper.ToArgbIcc(int[],_io.BufferedRandom,_io.BufferedRandom).
Parameters:
Parameter | Type | Description |
---|---|---|
cmyk_pixels | CmykColor[] | The pixels of CMYKColor type in CMYK format. |
cmyk_icc_stream | _io.BufferedRandom | The stream containing icc cmyk profile. |
rgb_icc_stream | _io.BufferedRandom | The stream containing icc rgb profile. |
Returns
Type | Description |
---|---|
Color[] | The Color[]. |
Method: to_color_with_def_icc(cmyk_pixels) [static]
to_color_with_def_icc(cmyk_pixels)
The conversion from CMYKColor to Color using icc conversion with default profiles.
This method is deprecated. Please use more effective CmykColorHelper.to_argb_icc(cmyk_pixel).
Parameters:
Parameter | Type | Description |
---|---|---|
cmyk_pixels | CmykColor | The pixel of CMYKColor type in CMYK format. |
Returns
Type | Description |
---|---|
Color | The Color. |
Method: to_color_with_icc(cmyk_pixels, cmyk_icc_stream, rgb_icc_stream) [static]
to_color_with_icc(cmyk_pixels, cmyk_icc_stream, rgb_icc_stream)
The conversion from CMYKColor to Color using icc conversion.
This method is deprecated. Please use more effective Aspose.Imaging.CmykColorHelper.ToArgbIcc(int,_io.BufferedRandom,_io.BufferedRandom).
Parameters:
Parameter | Type | Description |
---|---|---|
cmyk_pixels | CmykColor | The pixel of CMYKColor type in CMYK format. |
cmyk_icc_stream | _io.BufferedRandom | The stream containing icc cmyk profile. |
rgb_icc_stream | _io.BufferedRandom | The stream containing icc rgb profile. |
Returns
Type | Description |
---|---|
Color | The Color. |
Method: to_colors(cmyk_pixels) [static]
to_colors(cmyk_pixels)
The conversion from CMYKColor to Color using icc conversion with default profiles.
This method is deprecated. Please use more effective CmykColorHelper.to_argb(cmyk_pixels).
Parameters:
Parameter | Type | Description |
---|---|---|
cmyk_pixels | CmykColor[] | The pixels of CMYKColor type in CMYK format. |
Returns
Type | Description |
---|---|
Color[] | The array of the ARGB colors. |
Method: to_colors_with_def_icc(cmyk_pixels) [static]
to_colors_with_def_icc(cmyk_pixels)
The conversion from CMYKColor to Color using icc conversion with default profiles.
This method is deprecated. Please use more effective CmykColorHelper.to_argb_icc(cmyk_pixels).
Parameters:
Parameter | Type | Description |
---|---|---|
cmyk_pixels | CmykColor[] | The pixels of CMYKColor type in CMYK format. |
Returns
Type | Description |
---|---|
Color[] | The Color[]. |
Method: to_colors_with_icc(cmyk_pixels, cmyk_icc_stream, rgb_icc_stream) [static]
to_colors_with_icc(cmyk_pixels, cmyk_icc_stream, rgb_icc_stream)
The conversion from CMYKColor to Color using icc conversion.
This method is deprecated. Please use more effective Aspose.Imaging.CmykColorHelper.ToArgbIcc(int[],_io.BufferedRandom,_io.BufferedRandom).
Parameters:
Parameter | Type | Description |
---|---|---|
cmyk_pixels | CmykColor[] | The pixels of CMYKColor type in CMYK format. |
cmyk_icc_stream | _io.BufferedRandom | The stream containing icc cmyk profile. |
rgb_icc_stream | _io.BufferedRandom | The stream containing icc rgb profile. |
Returns
Type | Description |
---|---|
Color[] | The Color[]. |
Method: to_value()
to_value()
The to value.
Returns
Type | Description |
---|---|
long | The long CMYK value. |