25.7. Canvas.getContext( ): return a context for drawing on the canvas25.7.1. SynopsisCanvasRenderingContext2D getContext(String contextID) 25.7.1.1. Arguments
25.7.1.2. ReturnsA CanvasRenderingContext2D object with which you can draw into the Canvas element. 25.7.2. DescriptionReturns a context representing the type of context to use in drawing. The intent is to provide different contexts for different drawing types (2-D, 3-D). Currently, the only one supported is "2d", which returns a CanvasRenderingContext2D object that implements most of the methods used by a canvas. 25.7.3. See AlsoCanvasRenderingContext2D |