ICanvasRenderingContext2DAddHitRegion 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.
Namespace: Aspose.Html.Dom.CanvasAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
Syntaxvoid AddHitRegion(
Dictionary<string, string> options
)
Sub AddHitRegion (
options As Dictionary(Of String, String)
)
void AddHitRegion(
Dictionary<String^, String^>^ options
)
abstract AddHitRegion :
options : Dictionary<string, string> -> unit
Parameters
- options
- Type: System.Collections.GenericDictionaryString, String
The options argument is optional. When provided, it is an Object which can contain properties.
See Also