CGLayer.Create(CGContext, CGSize) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.