Skip to main content

Type Alias: FloodFillOptions

FloodFillOptions: object

Type declaration

bounds?

optional bounds: Map<number, Types.Point2 | Types.Point3>

diagonals?

optional diagonals: boolean

equals()?

optional equals: (a, b) => boolean

Parameters

a: any

b: any

Returns

boolean

filter()?

optional filter: (point) => boolean

Parameters

point: any

Returns

boolean

onBoundary()?

optional onBoundary: (x, y, z?) => void

Parameters

x: number

y: number

z?: number

Returns

void

onFlood()?

optional onFlood: (x, y, z?) => void

Parameters

x: number

y: number

z?: number

Returns

void

Defined in

tools/src/types/FloodFillTypes.ts:11