ICanvasRenderingContext2D.AddHitRegion
ICanvasRenderingContext2D.AddHitRegion method
Adds a hit region to the canvas. This allows you to make hit detection easier, lets you route events to DOM elements, and makes it possible for users to explore the canvas without seeing it.
public void AddHitRegion(Dictionary<string, string> options)
Parameter | Type | Description |
---|---|---|
options | Dictionary`2 | The options argument is optional. When provided, it is an Object which can contain properties. |
See Also
- interface ICanvasRenderingContext2D
- namespace Aspose.Html.Dom.Canvas
- assembly Aspose.HTML