예제 #1
0
 /// <summary>
 /// Returns CanvasRenderingContext2D drawing context on the canvas, or null if the context ID is not supported.
 /// A drawing context lets you draw on the canvas.
 /// </summary>
 /// <param name="contextId">The context's id</param>
 /// <returns>A CanvasRenderingContext2D drawing context object.</returns>
 public virtual CanvasRenderingContext2D GetContext(CanvasTypes.CanvasContext2DType contextId)
 {
     return(null);
 }
예제 #2
0
 /// <summary>
 /// Returns CanvasRenderingContext2D drawing context on the canvas, or null if the context ID is not supported.
 /// A drawing context lets you draw on the canvas.
 /// </summary>
 /// <param name="contextId">The context's id</param>
 /// <returns>A CanvasRenderingContext2D drawing context object.</returns>
 public extern CanvasRenderingContext2D GetContext(CanvasTypes.CanvasContext2DType contextId);