Visual Basic (Declaration) | |
---|---|
Public Function DirectlyOver( _ ByVal toleranceInPixels As Double, _ Optional ByVal layers As IEnumerable(Of GraphicsLayer) _ ) As IEnumerable(Of Graphic) |
C# | |
---|---|
public IEnumerable<Graphic> DirectlyOver( double toleranceInPixels, IEnumerable<GraphicsLayer> layers ) |
Graphics are returned top-down with the topmost graphic returned first.
Parameters
- toleranceInPixels
- The tolerance in pixels.
- layers
- GraphicsLayers to perform the hit test on. If a null value is specified, all graphics layers in the map is used.
Return Value
Graphics under the specified pointTarget Platforms:Windows Phone 7