HTMLCanvasElement.GetContext
HTMLCanvasElement.GetContext method
Returns a drawing context on the canvas, or null if the context ID is not supported. A drawing context lets you draw on the canvas.
public object GetContext(String contextId)
Parameter | Type | Description |
---|---|---|
contextId | String | Is a String containing the context identifier defining the drawing context associated to the canvas |
Return Value
A RenderingContext
See Also
- class HTMLCanvasElement
- package com.aspose.html
- package Aspose.HTML