| Package | com.yworks.canvas.geom |
| Interface | public interface IContainsTest |
| Method | Defined 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 | ||
| contains | () | method |
public function contains(x:Number, y:Number):BooleanDetermines 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.
|
Boolean — true iff the point is contained within the shape.
|