Table of Contents

Method FloodFill

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

FloodFill(Brush, PointD)

Flood fills the drawing surface starting from the given point, using the given brush.

void FloodFill(Brush brush, PointD point)

Parameters

brush Brush

Brush to fill the surface with. Only SolidBrush objects are supported at the moment.

point PointD

The point to start filling from.

Exceptions

ArgumentNullException

brush is null.

ArgumentException

brush is not SolidBrush