CGContext.DrawLayer Method

Definition

Overloads

DrawLayer(CGLayer, CGPoint)

Draws a layer into the graphics context at the specified point.

DrawLayer(CGLayer, CGRect)

Draws a layer into the graphics context bounded by the specified rectangle.

DrawLayer(CGLayer, CGPoint)

Draws a layer into the graphics context at the specified point.

public void DrawLayer (CoreGraphics.CGLayer layer, CoreGraphics.CGPoint point);
member this.DrawLayer : CoreGraphics.CGLayer * CoreGraphics.CGPoint -> unit

Parameters

layer
CGLayer

The layer to draw.

point
CGPoint

The point in user space where to draw the layer.

Applies to

DrawLayer(CGLayer, CGRect)

Draws a layer into the graphics context bounded by the specified rectangle.

public void DrawLayer (CoreGraphics.CGLayer layer, CoreGraphics.CGRect rect);
member this.DrawLayer : CoreGraphics.CGLayer * CoreGraphics.CGRect -> unit

Parameters

layer
CGLayer

The layer to draw.

rect
CGRect

The bounding box in user space in which to draw the layer.

Applies to