Mac OSX
 addtogroup rendering_backend_interfaces Rendering Backend Interfaces
 @{


 Describes the 'gradient' objects (either linear or a radial) to the
 rendering backends.

 @nosubgrouping
[uuid(62e79ab2-5bf9-4372-b397-7a942bc4c649)]
interface nsISVGGradient : nsISupports

Constants


        
const unsigned long SVG_UNKNOWN_GRADIENT = 0

        
const unsigned long SVG_LINEAR_GRADIENT = 1

        
const unsigned long SVG_RADIAL_GRADIENT = 2

Attributes


        
readonly attribute PRUint32 gradientType

        
readonly attribute PRUint16 gradientUnits

        
readonly attribute PRUint16 spreadMethod

Methods


        
void GetGradientTransform(out nsIDOMSVGMatrix retval, in nsISVGGeometrySource aSource)

        
void GetNextGradient(out nsISVGGradient aNextGrad, in PRUint32 aType)

        
void GetStopColor(in PRInt32 aIndex, out nscolor aStopColor)

        
void GetStopCount(out PRUint32 aStopCount)

        
void GetStopOffset(in PRInt32 aIndex, out float aOffset)

        
void GetStopOpacity(in PRInt32 aIndex, out float aStopOpacity)