com.esri.arcgis.display
Interface ICmykColor

All Superinterfaces:
IColor, Serializable
All Known Implementing Classes:
CmykColor

public interface ICmykColor
extends IColor, Serializable

Provides access to members that control the CMYK color values.

Description

ICmykColor maintains information about a Color by using the CMYK (Cyan, Magenta, Yellow, and blacK[or chroma]) color model.
The ICmykColor interface allows you to define colors in terms of the CMYK color model by setting its four properties--Cyan, Magenta, Yellow, and Black--to values between 0 and 100. A value of 0 indicates the lack of a color, and a value of 100 indicates a maximum of a color.
The CMYKColor coclass also includes the IPostScriptColor interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

See Also:
ICmykColor, IColor, IEnumColors, ICieLabConversion

Method Summary
 int getBlack()
          The black component of an ICmykColor (0-255).
 int getCyan()
          The cyan component of an ICmykColor (0-255).
 int getMagenta()
          The magenta component of an ICmykColor (0-255).
 int getYellow()
          The yellow component of an ICmykColor (0-255).
 void setBlack(int black)
          The black component of an ICmykColor (0-255).
 void setCyan(int cyan)
          The cyan component of an ICmykColor (0-255).
 void setMagenta(int magenta)
          The magenta component of an ICmykColor (0-255).
 void setYellow(int yellow)
          The yellow component of an ICmykColor (0-255).
 
Methods inherited from interface com.esri.arcgis.display.IColor
getCIELAB, getCMYK, getRGB, getTransparency, isNullColor, isUseWindowsDithering, setCIELAB, setCMYK, setNullColor, setRGB, setTransparency, setUseWindowsDithering
 

Method Detail

setCyan

void setCyan(int cyan)
             throws IOException,
                    AutomationException
The cyan component of an ICmykColor (0-255).

Description

Cyan is the value of the cyan component of a CmykColor object. The valid value range is 0-255.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
cyan - The cyan (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCyan

int getCyan()
            throws IOException,
                   AutomationException
The cyan component of an ICmykColor (0-255).

Description

Cyan is the value of the cyan component of a CmykColor object. The valid value range is 0-255.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The cyan
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMagenta

void setMagenta(int magenta)
                throws IOException,
                       AutomationException
The magenta component of an ICmykColor (0-255).

Description

Magenta is the value of the magenta component of a CmykColor object. The valid value range is 0-255.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
magenta - The magenta (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMagenta

int getMagenta()
               throws IOException,
                      AutomationException
The magenta component of an ICmykColor (0-255).

Description

Magenta is the value of the magenta component of a CmykColor object. The valid value range is 0-255.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The magenta
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setYellow

void setYellow(int yellow)
               throws IOException,
                      AutomationException
The yellow component of an ICmykColor (0-255).

Description

Yellow is the value of the yellow component of a CmykColor object. The valid value range is 0-255.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
yellow - The yellow (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getYellow

int getYellow()
              throws IOException,
                     AutomationException
The yellow component of an ICmykColor (0-255).

Description

Yellow is the value of the yellow component of a CmykColor object. The valid value range is 0-255.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The yellow
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBlack

void setBlack(int black)
              throws IOException,
                     AutomationException
The black component of an ICmykColor (0-255).

Description

Black is the value of the black component of a CmykColor object. The valid value range is 0-255.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
black - The black (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBlack

int getBlack()
             throws IOException,
                    AutomationException
The black component of an ICmykColor (0-255).

Description

Black is the value of the black component of a CmykColor object. The valid value range is 0-255.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The black
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.