共用方式為


ICanvas.SubtractFromClip(Single, Single, Single, Single) 方法

定義

裁剪 物件,以便只顯示矩形外部的區域。

public:
 void SubtractFromClip(float x, float y, float width, float height);
public void SubtractFromClip (float x, float y, float width, float height);
abstract member SubtractFromClip : single * single * single * single -> unit
Public Sub SubtractFromClip (x As Single, y As Single, width As Single, height As Single)

參數

x
Single

矩形的開始 x 座標。

y
Single

矩形的開始 y 座標。

width
Single

矩形的寬度。

height
Single

矩形的高度。

適用於