ColorantCmyk
Inheritance: java.lang.Object, com.aspose.psd.xmp.types.XmpTypeBase, com.aspose.psd.xmp.types.complex.ComplexTypeBase, com.aspose.psd.xmp.types.complex.colorant.ColorantBase
public final class ColorantCmyk extends ColorantBase
Represents CMYK Colorant.
Constructors
Constructor | Description |
---|---|
ColorantCmyk() | Initializes a new instance of the ColorantCmyk class. |
ColorantCmyk(float black, float cyan, float magenta, float yellow) | Initializes a new instance of the ColorantCmyk class. |
Fields
Field | Description |
---|---|
ColorValueMax | Color max value in CMYK colorant. |
ColorValueMin | Color min value in CMYK colorant. |
Methods
Method | Description |
---|---|
add(String key, Object value) | Adds the specified key. |
equals(Object arg0) | |
getBlack() | Gets or sets the black component value. |
getClass() | |
getColorType() | Gets or sets the type of the color. |
getCyan() | Gets or sets the cyan component value. |
getMagenta() | Gets or sets the magenta component value. |
getMode() | Gets ColorMode . |
getNamespaceUri() | Gets the default namespace URI. |
getPrefix() | Gets the prefix. |
getSwatchName() | Gets or sets the name of the swatch. |
getXmpRepresentation() | Gets the string contained value in XMP format. |
getYellow() | Gets or sets the yellow component value. |
hashCode() | |
notify() | |
notifyAll() | |
setBlack(float value) | Gets or sets the black component value. |
setColorType(int value) | Gets or sets the type of the color. |
setCyan(float value) | Gets or sets the cyan component value. |
setMagenta(float value) | Gets or sets the magenta component value. |
setSwatchName(String value) | Gets or sets the name of the swatch. |
setYellow(float value) | Gets or sets the yellow component value. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
ColorantCmyk()
public ColorantCmyk()
Initializes a new instance of the ColorantCmyk class.
ColorantCmyk(float black, float cyan, float magenta, float yellow)
public ColorantCmyk(float black, float cyan, float magenta, float yellow)
Initializes a new instance of the ColorantCmyk class.
Parameters:
Parameter | Type | Description |
---|---|---|
black | float | The black component value. |
cyan | float | The cyan color component value. |
magenta | float | The magenta component value. |
yellow | float | The yellow component value. |
ColorValueMax
public static final float ColorValueMax
Color max value in CMYK colorant.
ColorValueMin
public static final float ColorValueMin
Color min value in CMYK colorant.
add(String key, Object value)
public void add(String key, Object value)
Adds the specified key.
Parameters:
Parameter | Type | Description |
---|---|---|
key | java.lang.String | The string representation of key that is identified with added value. |
value | java.lang.Object | The value to add to. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getBlack()
public float getBlack()
Gets or sets the black component value.
Value: The black component value.
Returns: float
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getColorType()
public int getColorType()
Gets or sets the type of the color.
Value: The type of the color.
Returns: int
getCyan()
public float getCyan()
Gets or sets the cyan component value.
Value: The cyan component value.
Returns: float
getMagenta()
public float getMagenta()
Gets or sets the magenta component value.
Value: The magenta component value.
Returns: float
getMode()
public int getMode()
Gets ColorMode .
Value: The color mode.
Returns: int
getNamespaceUri()
public String getNamespaceUri()
Gets the default namespace URI.
Returns: java.lang.String - The default namespace URI.
getPrefix()
public String getPrefix()
Gets the prefix.
Returns: java.lang.String - The prefix.
getSwatchName()
public String getSwatchName()
Gets or sets the name of the swatch.
Value: The name of the swatch.
Returns: java.lang.String
getXmpRepresentation()
public String getXmpRepresentation()
Gets the string contained value in XMP format.
Returns: java.lang.String - Returns the string contained value in XMP format.
getYellow()
public float getYellow()
Gets or sets the yellow component value.
Value: The yellow component value.
Returns: float
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setBlack(float value)
public void setBlack(float value)
Gets or sets the black component value.
Value: The black component value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
setColorType(int value)
public void setColorType(int value)
Gets or sets the type of the color.
Value: The type of the color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setCyan(float value)
public void setCyan(float value)
Gets or sets the cyan component value.
Value: The cyan component value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
setMagenta(float value)
public void setMagenta(float value)
Gets or sets the magenta component value.
Value: The magenta component value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
setSwatchName(String value)
public void setSwatchName(String value)
Gets or sets the name of the swatch.
Value: The name of the swatch.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setYellow(float value)
public void setYellow(float value)
Gets or sets the yellow component value.
Value: The yellow component value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
toString()
public String toString()
Returns: java.lang.String
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 |