Returns the farthest descendant of the receiver in the layer hierarchy (including itself) that contains a specified point.
Original signature is '- (CALayer *)hitTest:(CGPoint)thePoint'
Available in Mac OS X v10.5 and later.
Declaration Syntax
Parameters
- thePoint (CGPoint)
- A point in the coordinate system of the receiver's superlayer.
Return Value
The layer that contains thePoint, or nil if the point lies outside the receiver’s bounds rectangle.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)