CGLayer.Create(CGContext, CGSize) Method

Definition

Creates a new CGLayer object with the specified graphics context and size

public static CoreGraphics.CGLayer Create (CoreGraphics.CGContext context, CoreGraphics.CGSize size);
static member Create : CoreGraphics.CGContext * CoreGraphics.CGSize -> CoreGraphics.CGLayer

Parameters

context
CGContext

The source context.

size
CGSize

The size for the CGLayer.

Returns

Applies to