com.esri.arcgis.display
Interface IColor

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
ICmykColor, IGrayColor, IHlsColor, IHsvColor, IRgbColor
All Known Implementing Classes:
CmykColor, GrayColor, HlsColor, HsvColor, ICmykColorProxy, IColorProxy, IGrayColorProxy, IHlsColorProxy, IHsvColorProxy, IRgbColorProxy, RgbColor

public interface IColor
extends java.io.Serializable

COM Interface 'IColor'. Generated 3/19/2015 1:20:51 PM from 'C:\ArcGIS\COM\esriDisplay.olb'

Description: 'Provides access to members that control the basic color interface.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID20cd40b0_8f3d_11d0_8590_0800091a2a72
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void getCIELAB(double[] l, double[] a, double[] b)
          The CIELAB value of color.
 int getCMYK()
          The CMYK value of color.
 int getRGB()
          The RGB value of color.
 byte getTransparency()
          The Alpha Blending value.
 boolean isNullColor()
          Indicates whether this color is null.
 boolean isUseWindowsDithering()
          Indicates if colors should be dithered to simulate colors that aren't supported by the display.
 void setCIELAB(double l, double a, double b)
          The CIELAB value of color.
 void setCMYK(int cMYK)
          The CMYK value of color.
 void setNullColor(boolean flag)
          Indicates whether this color is null.
 void setRGB(int rGB)
          The RGB value of color.
 void setTransparency(byte alphaValue)
          The Alpha Blending value.
 void setUseWindowsDithering(boolean useDithering)
          Indicates if colors should be dithered to simulate colors that aren't supported by the display.
 

Field Detail

IID20cd40b0_8f3d_11d0_8590_0800091a2a72

static final int IID20cd40b0_8f3d_11d0_8590_0800091a2a72
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

setRGB

void setRGB(int rGB)
            throws java.io.IOException,
                   AutomationException
The RGB value of color.

Parameters:
rGB - The rGB (A COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRGB

int getRGB()
           throws java.io.IOException,
                  AutomationException
The RGB value of color.

Returns:
The rGB (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCMYK

void setCMYK(int cMYK)
             throws java.io.IOException,
                    AutomationException
The CMYK value of color.

Parameters:
cMYK - The cMYK (A COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCMYK

int getCMYK()
            throws java.io.IOException,
                   AutomationException
The CMYK value of color.

Returns:
The cMYK (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUseWindowsDithering

void setUseWindowsDithering(boolean useDithering)
                            throws java.io.IOException,
                                   AutomationException
Indicates if colors should be dithered to simulate colors that aren't supported by the display. This only applies on displays that have 256 or fewer colors.

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

isUseWindowsDithering

boolean isUseWindowsDithering()
                              throws java.io.IOException,
                                     AutomationException
Indicates if colors should be dithered to simulate colors that aren't supported by the display. This only applies on displays that have 256 or fewer colors.

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

setCIELAB

void setCIELAB(double l,
               double a,
               double b)
               throws java.io.IOException,
                      AutomationException
The CIELAB value of color.

Parameters:
l - The l (in)
a - The a (in)
b - The b (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCIELAB

void getCIELAB(double[] l,
               double[] a,
               double[] b)
               throws java.io.IOException,
                      AutomationException
The CIELAB value of color.

Parameters:
l - The l (out: use single element array)
a - The a (out: use single element array)
b - The b (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTransparency

void setTransparency(byte alphaValue)
                     throws java.io.IOException,
                            AutomationException
The Alpha Blending value. (0 for transparent, 255 for opaque).

Parameters:
alphaValue - An unsigned byte (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTransparency

byte getTransparency()
                     throws java.io.IOException,
                            AutomationException
The Alpha Blending value. (0 for transparent, 255 for opaque).

Returns:
An unsigned byte
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNullColor

void setNullColor(boolean flag)
                  throws java.io.IOException,
                         AutomationException
Indicates whether this color is null.

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

isNullColor

boolean isNullColor()
                    throws java.io.IOException,
                           AutomationException
Indicates whether this color is null.

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