CALayer.HitTest(CGPoint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The furthest descendant in this layer's hierarchy that contains the point p
.
[Foundation.Export("hitTest:")]
public virtual CoreAnimation.CALayer HitTest (CoreGraphics.CGPoint p);
abstract member HitTest : CoreGraphics.CGPoint -> CoreAnimation.CALayer
override this.HitTest : CoreGraphics.CGPoint -> CoreAnimation.CALayer
Parameters
- p
- CGPoint
A point, in the coordinate system of this layer's SuperLayer.
Returns
The layer (possible this
) that contains the point p
or null
if p
lies outside the Bounds rectangle of this
.
- Attributes