pointInRectangle

external fun pointInRectangle(xy: Xy): Boolean

Check if XY position is inside rectangle