Export (0) Print
Expand All

ICanvasGradient interface

Specifies an object that represents a color gradient on a CanvasRenderingContext2D object.

Members

The ICanvasGradient interface inherits from the IDispatch interface. ICanvasGradient also has these types of members:

Methods

The ICanvasGradient interface has these methods.

MethodDescription
addColorStop

Adds the specified colors and the position in a CanvasGradient object.

 

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft