Table of Contents

Method SetClippingRegion

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

SetClippingRegion(RectD)

Sets the clipping region for this device context to the intersection of the given region described by the parameters of this method and the previously set clipping region.

void SetClippingRegion(RectD rect)

Parameters

rect RectD

Clipping rectangle.

Remarks

The clipping region is an area to which drawing is restricted. Possible uses for the clipping region are for clipping text or for speeding up window redraws when only a known area of the screen is damaged.