HitTest

Graphics32

TCustomLayer.HitTest

function HitTest(X, Y: Integer): Boolean;

Description

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:

See Also

TBitmapLayer.AlphaHit, TPositionedLayer.GetAdjustedLocation, OnHitTest, TBitmapLayer, TCustomLayer, TPositionedLayer, Using Layers