Packagecom.yworks.canvas.geom
Interfacepublic interface IContainsTest

An interface that checks for containment of a point in 2D coordinate space.



Public Methods
 MethodDefined By
  
contains(x:Number, y:Number):Boolean
Determines whether the provided point is deemed to lie within the shape this test is implemented for.
IContainsTest
Method Detail
contains()method
public function contains(x:Number, y:Number):Boolean

Determines whether the provided point is deemed to lie within the shape this test is implemented for.

Parameters

x:Number — The x coordinate of the point to test.
 
y:Number — The y coordinate of the point to test.

Returns
Booleantrue iff the point is contained within the shape.