• Overview
  • How it works
  • Documentation
  • Blog
  • Forum
Search Results for

    Show / Hide Table of Contents

    FloodFill Method

    FloodFill(Brush, Point)

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

    Declaration
    public void FloodFill(Brush brush, Point point)
    Parameters
    Type Name Description
    Brush brush

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

    Point point

    The point to start filling from.

    Exceptions
    Type Condition
    System.ArgumentNullException

    brush is null.

    System.ArgumentException

    brush is not SolidBrush

    In This Article
    Back to top Documentation Licensing Info Copyright AlterNET Software