CmykColor
Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.lang.Struct
public class CmykColor extends Struct<CmykColor>
The CMYK color of pixel.
Constructors
Constructor | Description |
---|---|
CmykColor() |
Methods
Method | Description |
---|---|
Clone() | |
CloneTo(T arg0) | |
CloneTo(CmykColor that) | |
equals(Object obj) | |
fromParams(int cyan, int magenta, int yellow, int black) | Creates a CmykColor structure from a 32-bit cyan, magenta, yellow and black values. |
getC() | Gets the cyan component value of this com.aspose.psd.Color structure. |
getClass() | |
getEmpty() | Gets the empty. |
getK() | Gets the black component value of this com.aspose.psd.Color structure. |
getM() | Gets the magenta component value of this com.aspose.psd.Color structure. |
getY() | Gets the yellow component value of this com.aspose.psd.Color structure. |
hashCode() | The get hash code. |
isEmpty() | Gets a value indicating whether this com.aspose.psd.Color structure is uninitialized. |
isEquals(CmykColor obj1, CmykColor obj2) | |
notify() | |
notifyAll() | |
toArgb32(CmykColor[] cmykPixels) | The conversion from CMYKColor to 32-bit ARGB Color using icc conversion with default profiles. |
toCmyk(int argbPixel) | The conversion from 32-bit ARGB to CMYKColor. |
toCmyk(int[] argbPixels) | The conversion from 32-bit ARGB color to CMYKColor. |
toColor(CmykColor cmykPixel) | The conversion from CMYKColor to Color. |
toColor(CmykColor[] cmykPixels) | The conversion from CMYKColor to Color using icc conversion with default profiles. |
toColorIcc(CmykColor cmykPixel) | The conversion from CMYKColor to Color using icc conversion with default profiles. |
toColorIcc(CmykColor cmykPixel, InputStream cmykIccStream, InputStream rgbIccStream) | The conversion from CMYKColor to Color using icc conversion. |
toColorIcc(CmykColor[] cmykPixels) | The conversion from CMYKColor to Color using icc conversion with default profiles. |
toColorIcc(CmykColor[] cmykPixels, InputStream cmykIccStream, InputStream rgbIccStream) | The conversion from CMYKColor to Color using icc conversion. |
toColorIcc_internalized(CmykColor cmykPixel, System.IO.Stream cmykIccStream, System.IO.Stream rgbIccStream) | The conversion from CMYKColor to Color using icc conversion. |
toColorIcc_internalized(CmykColor[] cmykPixels, System.IO.Stream cmykIccStream, System.IO.Stream rgbIccStream) | The conversion from CMYKColor to Color using icc conversion. |
toString() | |
toValue() | The to value. |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
CmykColor()
public CmykColor()
Clone()
public CmykColor Clone()
Returns: CmykColor
CloneTo(T arg0)
public abstract void CloneTo(T arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | T |
CloneTo(CmykColor that)
public void CloneTo(CmykColor that)
Parameters:
Parameter | Type | Description |
---|---|---|
that | CmykColor |
equals(Object obj)
public boolean equals(Object obj)
Parameters:
Parameter | Type | Description |
---|---|---|
obj | java.lang.Object |
Returns: boolean
fromParams(int cyan, int magenta, int yellow, int black)
public static CmykColor fromParams(int cyan, int magenta, int yellow, int black)
Creates a CmykColor structure from a 32-bit cyan, magenta, yellow and black values. This method is deprecated. Please use more effective CmykColorHelper#fromComponents(int, int, int, int).
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: CmykColor - The CmykColor .
getC()
public byte getC()
Gets the cyan component value of this com.aspose.psd.Color structure.
Returns: byte - The cyan component value of this com.aspose.psd.Color .
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getEmpty()
public static CmykColor getEmpty()
Gets the empty.
Returns: CmykColor
getK()
public byte getK()
Gets the black component value of this com.aspose.psd.Color structure.
Value: The black component value of this com.aspose.psd.Color .
Returns: byte
getM()
public byte getM()
Gets the magenta component value of this com.aspose.psd.Color structure.
Returns: byte - The magenta component value of this com.aspose.psd.Color .
getY()
public byte getY()
Gets the yellow component value of this com.aspose.psd.Color structure.
Returns: byte - The yellow component value of this com.aspose.psd.Color .
hashCode()
public int hashCode()
The get hash code.
Returns: int - The int .
isEmpty()
public boolean isEmpty()
Gets a value indicating whether this com.aspose.psd.Color structure is uninitialized.
Returns: boolean - This property returns true if this color is uninitialized; otherwise, false.
isEquals(CmykColor obj1, CmykColor obj2)
public static boolean isEquals(CmykColor obj1, CmykColor obj2)
Parameters:
Parameter | Type | Description |
---|---|---|
obj1 | CmykColor | |
obj2 | CmykColor |
Returns: boolean
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toArgb32(CmykColor[] cmykPixels)
public static int[] toArgb32(CmykColor[] cmykPixels)
The conversion from CMYKColor to 32-bit ARGB Color using icc conversion with default profiles. This method is deprecated. Please use more effective CmykColorHelper.toArgb32(int[]) .
Parameters:
Parameter | Type | Description |
---|---|---|
cmykPixels | CmykColor[] | The pixels of CMYKColor type in CMYK format. |
Returns: int[] - The array of the 32-bit ARGB color.
toCmyk(int argbPixel)
public static CmykColor toCmyk(int argbPixel)
The conversion from 32-bit ARGB to CMYKColor. This method is deprecated. Please use more effective CmykColorHelper.toCmyk(int) .
Parameters:
Parameter | Type | Description |
---|---|---|
argbPixel | int | The pixel of 32-bit ARGB format. |
Returns: CmykColor - The Aspose:Imaging:CmykColor .
toCmyk(int[] argbPixels)
public static CmykColor[] toCmyk(int[] argbPixels)
The conversion from 32-bit ARGB color to CMYKColor. This method is deprecated. Please use more effective CmykColorHelper.toCmyk(int[]) .
Parameters:
Parameter | Type | Description |
---|---|---|
argbPixels | int[] | The pixels of 32-bit ARGB format. |
Returns: com.aspose.psd.CmykColor[] - The Aspose:Imaging:CmykColor[] .
toColor(CmykColor cmykPixel)
public static Color toColor(CmykColor cmykPixel)
The conversion from CMYKColor to Color. This method is deprecated. Please use more effective CmykColorHelper.toArgb(int) .
Parameters:
Parameter | Type | Description |
---|---|---|
cmykPixel | CmykColor | The pixels of CMYKColor type in CMYK format. |
Returns: Color - The Aspose.Imaging.Color[] .
toColor(CmykColor[] cmykPixels)
public static Color[] toColor(CmykColor[] cmykPixels)
The conversion from CMYKColor to Color using icc conversion with default profiles. This method is deprecated. Please use more effective CmykColorHelper.toArgb(int[]) .
Parameters:
Parameter | Type | Description |
---|---|---|
cmykPixels | CmykColor[] | The pixels of CMYKColor type in CMYK format. |
Returns: com.aspose.psd.Color[] - The array of the ARGB colors.
toColorIcc(CmykColor cmykPixel)
public static Color toColorIcc(CmykColor cmykPixel)
The conversion from CMYKColor to Color using icc conversion with default profiles. This method is deprecated. Please use more effective CmykColorHelper.toArgbIcc(int) .
Parameters:
Parameter | Type | Description |
---|---|---|
cmykPixel | CmykColor | The pixel of CMYKColor type in CMYK format. |
Returns: Color - The Color .
toColorIcc(CmykColor cmykPixel, InputStream cmykIccStream, InputStream rgbIccStream)
public static Color toColorIcc(CmykColor cmykPixel, InputStream cmykIccStream, InputStream rgbIccStream)
The conversion from CMYKColor to Color using icc conversion. This method is deprecated. Please use more effective CmykColorHelper.toArgbIcc(int, Stream, Stream) .
Parameters:
Parameter | Type | Description |
---|---|---|
cmykPixel | CmykColor | The pixel of CMYKColor type in CMYK format. |
cmykIccStream | java.io.InputStream | The stream containing icc cmyk profile. |
rgbIccStream | java.io.InputStream | The stream containing icc rgb profile. |
Returns: Color - The Color .
toColorIcc(CmykColor[] cmykPixels)
public static Color[] toColorIcc(CmykColor[] cmykPixels)
The conversion from CMYKColor to Color using icc conversion with default profiles. This method is deprecated. Please use more effective CmykColorHelper#toArgbIcc(int[]).
Parameters:
Parameter | Type | Description |
---|---|---|
cmykPixels | CmykColor[] | The pixels of CMYKColor type in CMYK format. |
Returns: com.aspose.psd.Color[] - The com.aspose.psd.Color[] .
toColorIcc(CmykColor[] cmykPixels, InputStream cmykIccStream, InputStream rgbIccStream)
public static Color[] toColorIcc(CmykColor[] cmykPixels, InputStream cmykIccStream, InputStream rgbIccStream)
The conversion from CMYKColor to Color using icc conversion. This method is deprecated. Please use more effective CmykColorHelper.toArgbIcc(int[], InputStream, InputStream) .
Parameters:
Parameter | Type | Description |
---|---|---|
cmykPixels | CmykColor[] | The pixels of CMYKColor type in CMYK format. |
cmykIccStream | java.io.InputStream | The stream containing icc cmyk profile. |
rgbIccStream | java.io.InputStream | The stream containing icc rgb profile. |
Returns: com.aspose.psd.Color[] - The Aspose.Imaging.Color[] .
toColorIcc_internalized(CmykColor cmykPixel, System.IO.Stream cmykIccStream, System.IO.Stream rgbIccStream)
public static Color toColorIcc_internalized(CmykColor cmykPixel, System.IO.Stream cmykIccStream, System.IO.Stream rgbIccStream)
The conversion from CMYKColor to Color using icc conversion.
Parameters:
Parameter | Type | Description |
---|---|---|
cmykPixel | CmykColor | The pixel of CMYKColor type in CMYK format. |
cmykIccStream | com.aspose.ms.System.IO.Stream | The stream containing icc cmyk profile. |
rgbIccStream | com.aspose.ms.System.IO.Stream | The stream containing icc rgb profile. |
Returns: Color - The Color .
toColorIcc_internalized(CmykColor[] cmykPixels, System.IO.Stream cmykIccStream, System.IO.Stream rgbIccStream)
public static Color[] toColorIcc_internalized(CmykColor[] cmykPixels, System.IO.Stream cmykIccStream, System.IO.Stream rgbIccStream)
The conversion from CMYKColor to Color using icc conversion.
Parameters:
Parameter | Type | Description |
---|---|---|
cmykPixels | CmykColor[] | The pixels of CMYKColor type in CMYK format. |
cmykIccStream | com.aspose.ms.System.IO.Stream | The stream containing icc cmyk profile. |
rgbIccStream | com.aspose.ms.System.IO.Stream | The stream containing icc rgb profile. |
Returns: com.aspose.psd.Color[] - The Aspose.Imaging.Color[] .
toString()
public String toString()
Returns: java.lang.String
toValue()
public long toValue()
The to value.
Returns: long - The long .
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |