function HitTest(X, Y: Integer): Boolean;
Performs a hit test of the layer at specified point and returns True if the point have passed the test.
After performing default hit test, specific for particular type of a layer, this method also calls OnHitTest event, in case you need some run-time customization.
By default: