ICanvas.ClipRectangle(Single, Single, Single, Single) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
剪辑对象,以便仅显示矩形区域内的区域。
public:
void ClipRectangle(float x, float y, float width, float height);
public void ClipRectangle (float x, float y, float width, float height);
abstract member ClipRectangle : single * single * single * single -> unit
Public Sub ClipRectangle (x As Single, y As Single, width As Single, height As Single)
参数
- x
- Single
x
矩形的起始坐标。
- y
- Single
y
矩形的起始坐标。
- width
- Single
矩形的宽度。
- height
- Single
矩形的高度。