Inherits from UIView
Declared in ARTNode.h

Overview

ART nodes are implemented as empty UIViews but this is just an implementation detail to fit into the existing view management. They should also be shadow views and painted on a background thread.

Tasks

Properties

opacity

@property (nonatomic, assign) CGFloat opacity

Instance Methods

invalidate

- (void)invalidate

renderLayerTo:

- (void)renderLayerTo:(CGContextRef)context
Discussion

renderTo will take opacity into account and draw renderLayerTo off-screen if there is opacity specified, then composite that onto the context. renderLayerTo always draws at opacity=1. @abstract

Declared In

ARTNode.h

renderTo:

- (void)renderTo:(CGContextRef)context