Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

BlockStroke

A gesture as the page draws it, writing in place as it goes. A brush tool’s extend dabs one more cell, joined to the last by a line; a Rectangle’s moves its second corner and a flight’s its end, each putting back what the last left; a Fill’s and a lone stair’s take none. A height tool measures every cell from the rows as the stroke began and changes each once, as Luminati’s does.

cancel(): void

Puts back everything the stroke wrote, as a second finger does.

void


end(): BlockEditResult

The gesture’s one change; the stroke takes no call after it.

BlockEditResult


extend(cell): CellRegion | null

The rectangle the call touched, or null.

Parameter Type
cell CellPoint

CellRegion | null


readRegion(): CellRegion | null

The rectangle round every cell the stroke changed so far.

CellRegion | null