共用方式為


CGContext.ClipToRect(CGRect) 方法

定義

將裁剪路徑修改為目前路徑和所提供矩形的交集。

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

參數

rect
CGRect

矩形。

適用於