CKHighlightOverlayLayer Class Reference

Inherits from CALayer
Declared in CKHighlightOverlayLayer.h

– initWithRects:targetLayer:

@summary Initializes with CGRects for the highlighting, in the targetLayer’s coordinate space.

- (id)initWithRects:(NSArray *)rects targetLayer:(id)targetLayer

Parameters

rects

Array containing CGRects wrapped in NSValue.

targetLayer

The layer that the rects are relative to. The rects will be translated to the receiver’s coordinate space when rendering.

Discussion

@desc This is the designated initializer.

Declared In

CKHighlightOverlayLayer.h

– initWithRects:

@summary Initializes with CGRects for the highlighting, in the receiver’s coordinate space.

- (id)initWithRects:(NSArray *)rects

Parameters

rects

Array containing CGRects wrapped in NSValue.

Declared In

CKHighlightOverlayLayer.h