Skip to main content

Type Alias: FloodFillOptions

FloodFillOptions: object

Type declaration

diagonals?

optional diagonals: boolean

equals()?

optional equals: (a, b) => boolean

Parameters

a: any

b: 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:12