Home | GR32_Layers | TBitmapLayer |
TBitmapLayer.AlphaHit
property AlphaHit: Boolean;
Description
AlphaHit determines how the layer performs its HitTest.
If AlphaHit=False, layer only passes points inside the rectangle returned by GetAdjustedLocation.
If AlphaHit=True, layer checks the opacity of the pixel lying under the specified point and passes the hit test only when the alpha channel of the pixel is greater when zero.
See Also
TPositionedLayer.GetAdjustedLocation, TCustomLayer.HitTest
Copyright ©2000-2007 Alex Denisov and Contributors - Graphics32 v1.8.3 - Build on 4-March-2007