Table of Contents

Method IntersectClipRect

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

IntersectClipRect(int, int, int, int)

Creates a new clipping region from the intersection of the current clipping region and the specified rectangle.

public virtual void IntersectClipRect(int x, int y, int width, int height)

Parameters

x int

X-coordinate of the upper-left corner of the rectangle.

y int

Y-coordinate of the upper-left corner of the rectangle.

width int

Width of the rectangle.

height int

Height of the rectangle.

IntersectClipRect(Rectangle)

Creates a new clipping region from the intersection of the current clipping region and the specified rectangle.

public virtual void IntersectClipRect(Rectangle rect)

Parameters

rect Rectangle

Rectangle to intersect.