Bewerken

Delen via


CGContext.ClearRect(CGRect) Method

Definition

Paints the rectangle transparently.

public void ClearRect (CoreGraphics.CGRect rect);
member this.ClearRect : CoreGraphics.CGRect -> unit

Parameters

rect
CGRect

The rectangle to clear.

Remarks

This method should only be used in window and bitmap contexts. In those situations, it effectively clears the rect.

Applies to