Instance Method render In Context:
Renders the layer and its sublayers into the specified context.
iOS 2.0+ macOS 10.5+ UIKit for Mac 13.0+ Beta tvOS 9.0+ Parameters
The graphics context to use to render the layer.
This method renders directly from the layer tree, ignoring any animations added to the render tree. Renders in the coordinate space of the layer.
The OS X v10.5 implementation of this method does not support the entire Core Animation composition model.
layers are not rendered. Additionally, layers that use 3D transforms are not rendered, nor are layers that specify
QTMovie Layer , background Filters , filters , or a compositing Filter values. Future versions of macOS may add support for rendering these layers and properties. mask See Also Configuring the Layer’s Rendering Behavior opaque
A Boolean value indicating whether the layer contains completely opaque content.
- contents Are Flipped
Returns a Boolean indicating whether the layer content is implicitly flipped when rendered.
A Boolean that indicates whether the geometry of the layer and its sublayers is flipped vertically.
A Boolean indicating whether drawing commands are deferred and processed asynchronously in a background thread.
A Boolean that indicates whether the layer is rendered as a bitmap before compositing. Animatable
The scale at which to rasterize content, relative to the coordinate space of the layer. Animatable
A hint for the desired storage format of the layer contents.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
Learn more about using Apple's beta software