Specifies whether a certain coordinate is considered to be part
of the interactor. This can be used for irregularly shaped
interactors, or interactors with "holes". By default, this
method returns true, which means that all coordinates within
the interactor Rectangle are included.
Namespace: TallComponents.InteractionAssembly: TallComponents.PDF.Controls.WinForms (in TallComponents.PDF.Controls.WinForms.dll) Version: 2.0.46.0
Syntax
| C# |
|---|
protected virtual bool IsOver( double x, double y ) |
| Visual Basic |
|---|
Protected Overridable Function IsOver ( _ x As Double, _ y As Double _ ) As Boolean |
Parameters
- x
- Type: System..::..Double
The x-coordinate in interactor space.
- y
- Type: System..::..Double
The y-coordinate in interactor space.
Remarks
The result of this method determines whether mouse events
get dispatched to the interactor. In particular the MouseEnter
event will not be fired when this method returns false.