Logo Search packages:      
Sourcecode: xulrunner version File versions  Download package

nsISVGGradient Interface Reference
[Rendering Backend Interfaces]

import "nsISVGGradient.idl";

Inheritance diagram for nsISVGGradient:


List of all members.

Detailed Description

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

Definition at line 66 of file nsISVGGradient.idl.


 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Public Member Functions

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)

Public Attributes

readonly attribute PRUint32 gradientType
readonly attribute PRUint16 gradientUnits
readonly attribute PRUint16 spreadMethod
const unsigned long SVG_LINEAR_GRADIENT = 1
const unsigned long SVG_RADIAL_GRADIENT = 2
const unsigned long SVG_UNKNOWN_GRADIENT = 0

The documentation for this interface was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index