Mac OS X Reference Library Apple Developer
Search

SVGColor

Module:
svg
Inherits from:
cssCSSValue
Declared In:

Overview

Use the links in the table of contents to the left to access the documentation.



Functions

setColor
setRGBColor
setRGBColorICCColor

setColor



void setColor(
    in unsigned short colorType, 
    in core::DOMString rgbColor, 
    in core::DOMString iccColor) raises(SVGException); 

setRGBColor



void setRGBColor(
    in core::DOMString rgbColor) raises(SVGException); 

setRGBColorICCColor



void setRGBColorICCColor(
    in core::DOMString rgbColor, 
    in core::DOMString iccColor) raises(SVGException); 

Member Data

colorType
rgbColor
SVG_COLORTYPE_CURRENTCOLOR
SVG_COLORTYPE_RGBCOLOR
SVG_COLORTYPE_RGBCOLOR_ICCCOLOR
SVG_COLORTYPE_UNKNOWN

colorType



readonly attribute unsigned short colorType; 

rgbColor



readonly attribute css::RGBColor rgbColor; 

SVG_COLORTYPE_CURRENTCOLOR



const unsigned short SVG_COLORTYPE_CURRENTCOLOR = 3; 

SVG_COLORTYPE_RGBCOLOR



const unsigned short SVG_COLORTYPE_RGBCOLOR = 1; 

SVG_COLORTYPE_RGBCOLOR_ICCCOLOR



const unsigned short SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2; 

SVG_COLORTYPE_UNKNOWN



const unsigned short SVG_COLORTYPE_UNKNOWN = 0; 

 

Did this document help you? Yes It's good, but... Not helpful...

Last Updated: 2010-05-27