Table of Contents

Method RefreshRectsUnion

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

RefreshRectsUnion(IEnumerable<RectI>, bool)

Calculates bounds of the specified rectangles collection and repaints combined rectangle. Coordinates are in pixels.

public virtual void RefreshRectsUnion(IEnumerable<RectI> rects, bool eraseBackground = true)

Parameters

rects IEnumerable<RectI>

Array of rectangles with coordinates specified in pixels.

eraseBackground bool

Specifies whether to erase background.