MindFusion.Mapping Programmer's Guide

MapElement.HitTest Method

See Also
 






Tests whether this map element contains the specified point.

Namespace: MindFusion.Mapping
Assembly: MindFusion.Mapping

 Syntax

C#  Copy Code

protected abstract bool HitTest (
    Point point,
    ITransform transform
)

Visual Basic  Copy Code

Protected MustOverride Function HitTest( _
    point As Point, _
    transform As ITransform _
) As Boolean

 Parameters

point

A Point representing a location on the map.

transform

An ITransform representing the transform currently used to render the map.

 Return Value

true if this element contains the specified point, otherwise false.

 See Also