MindFusion.Mapping Programmer's Guide

Layer(TColor, TPalette).HitTest Method

See Also
 






Returns the map element located at the specified point.

Namespace: MindFusion.Mapping
Assembly: MindFusion.Mapping

 Syntax

C#  Copy Code

public abstract MapElement HitTest (
    Point mousePosition,
    ITransform transform
)

Visual Basic  Copy Code

Public MustOverride Function HitTest( _
    mousePosition As Point, _
    transform As ITransform _
) As MapElement

 Parameters

mousePosition

A Point instance specifying location.

transform

The transform currently used to draw the map.

 Return Value

The MapElement that contains the specified point.

 See Also