![]() |
LuciadCPillar C# 2024.1.04
|
Handler that translates hover gesture events to a hovering operation. More...
Public Member Functions | |
HoverEventHandler () | |
Creates a new instance. More... | |
void | Dispose () |
override bool | Equals (object obj) |
override int | GetHashCode () |
Luciad.Controllers.EventResult | OnMouseMoveEvent (Luciad.Input.Mouse.MouseMoveEvent moveEvent, Luciad.Maps.Map map) |
Changes the FeatureState.hover() state of features located under the mouse position. More... | |
Properties | |
uint | Margin [get, set] |
The margin used to detect if a feature is considered under the cursor or not. More... | |
Handler that translates hover gesture events to a hovering operation.
Features under the cursor will have their FeatureState.hover()
state updated.
|
inline |
Creates a new instance.
|
inline |
|
inline |
|
inline |
|
inline |
Changes the FeatureState.hover()
state of features located under the mouse position.
moveEvent | a move event. Cannot be null . |
map | the map. Cannot be null . |
EventResult.Consumed
. System.ArgumentNullException | when passing null for the map or the event. |
HoverEventHandler.Margin
for the margin applied to the mouse position to detect which features are considered.
|
getset |
The margin used to detect if a feature is considered under the cursor or not.
Returns the margin used to detect if a feature is considered under the cursor or not. The default value is 5 pixels.
Sets the margin used to detect if a feature is considered under the cursor or not. This margin is expressed in device independent pixels. By default, the margin is 5 pixels.