Gets the canvas context.
Namespace:
C1.Web.iPhoneAssembly: C1.Web.iPhone.Client (in C1.Web.iPhone.Client.dll)
Syntax
JavaScript |
---|
function getContext(contextName); |
Parameters
- contextName
- Type: System..::..String
Name of the context. Required. "2d" for CanvasRenderingContext2D.
Return Value
Remarks
Note, only "2d" context currently known.
But some vendors may also define experimental contexts using the syntax vendorname-context, for example, moz-3d.