iOS Developer Library

Developer

QuartzCore Framework Reference CATransformLayer Class Reference

Options
Deployment Target:

On This Page
Language:

CATransformLayer

CATransformLayer objects are used to create true 3D layer hierarchies, rather than the flattened hierarchy rendering model used by other CALayer classes. More...

Inheritance


Import Statement


import QuartzCore @import QuartzCore;

Availability


Available in iOS 3.0 and later.
  • Returns the farthest descendant of the receiver in the layer hierarchy (including itself) that contains a specified point.

    Declaration

    Objective-C

    - (CALayer *)hitTest:(CGPoint)thePoint

    Parameters

    thePoint

    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.

    Discussion

    Transform layers do not support hit-testing. As a result, you should not send hitTest: messages to transform layers.

    Import Statement