Options
All
  • Public
  • Public/Protected
  • All
Menu
abstract

Represents a "flooder" than can flood a part of a grid like the bucket tool of any raster graphics editor does.

Type parameters

  • T

    Any type of data.

Hierarchy

Index

Constructors

Methods

Constructors

  • Type parameters

    • T

      Any type of data.

    Parameters

    • grid: T[][]

      The grid for which to compute the flooding.

    • floodCallbackFn: FloodCallbackFn<T>

      A callback function used to determine if a cell is a one to flood.

    Returns Flood<T>

Methods

Generated using TypeDoc