%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
GetEntityFromPoint Method
See Also 
vdWebLibrary Namespace > vdrawObj Class : GetEntityFromPoint Method
x
The x value of the point.
y
The y value of the point.
Returns the entity that resides under the given point. The point is defined by x and y coordinates in pixels relative to the upper left corner of the drawing area.

Syntax

JScript 
public function GetEntityFromPoint( 
   x : int,
   y : int
) : Object;

Parameters

x
The x value of the point.
y
The y value of the point.

Return Value

The entity under the given point, or null if no entity is under it.

See Also