Instance Method
layerIndex(for:)layerIndexForPoint:layerIndexForPoint_
Converts the given graphical position to a layer index.
Declaration
func layerIndex(for point: NSPoint) -> UIntDeclaration
- (NSUInteger) layerIndexForPoint:(NSPoint) point;Declaration
layerIndexForPoint_(point: NSPoint) -> intParameters
pointThe graphical position to check, in view coordinates.
Return Value
The index of the layer whose bounding box contains the point.