get_context method
get_context
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.
Returns
A RenderingContext
def get_context(self, context_id):
...
Parameter | Type | Description |
---|---|---|
context_id | str | Is a string containing the context identifier defining the drawing context associated to the canvas |
See Also
- module
aspose.html
- class
HTMLCanvasElement