com.esri.arcgis.display
Interface IRgbColor

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

public interface IRgbColor
extends IColor, Serializable

Provides access to members that control the RGB color values.

Description

IRgbColor maintains information about a Color by using the RGB (Red, Green, Blue) color model.

Product Availability

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

See Also:
IHsvColor, IHlsColor

Method Summary
 int getBlue()
          The blue component of an IRgbColor (0-255).
 int getGreen()
          The green component of an IRgbColor (0-255).
 int getRed()
          The red component of an IRgbColor (0-255).
 void setBlue(int blue)
          The blue component of an IRgbColor (0-255).
 void setGreen(int green)
          The green component of an IRgbColor (0-255).
 void setRed(int red)
          The red component of an IRgbColor (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

setRed

void setRed(int red)
            throws IOException,
                   AutomationException
The red component of an IRgbColor (0-255).

Description

Red is the value of the red component of a RGBColor 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:
red - The red (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRed

int getRed()
           throws IOException,
                  AutomationException
The red component of an IRgbColor (0-255).

Description

Red is the value of the red component of a RGBColor 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 red
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGreen

void setGreen(int green)
              throws IOException,
                     AutomationException
The green component of an IRgbColor (0-255).

Description

Green is the value of the green component of a RGBColor 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:
green - The green (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGreen

int getGreen()
             throws IOException,
                    AutomationException
The green component of an IRgbColor (0-255).

Description

Green is the value of the green component of a RGBColor 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 green
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBlue

void setBlue(int blue)
             throws IOException,
                    AutomationException
The blue component of an IRgbColor (0-255).

Description

Blue is the value of the blue component of a RGBColor 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:
blue - The blue (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBlue

int getBlue()
            throws IOException,
                   AutomationException
The blue component of an IRgbColor (0-255).

Description

Blue is the value of the blue component of a RGBColor 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 blue
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.