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.
Methods
Section titled “Methods”cancel()
Section titled “cancel()”cancel():
void
Puts back everything the stroke wrote, as a second finger does.
Returns
Section titled “Returns”void
end():
BlockEditResult
The gesture’s one change; the stroke takes no call after it.
Returns
Section titled “Returns”extend()
Section titled “extend()”extend(
cell):CellRegion|null
The rectangle the call touched, or null.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
cell |
CellPoint |
Returns
Section titled “Returns”CellRegion | null
readRegion()
Section titled “readRegion()”readRegion():
CellRegion|null
The rectangle round every cell the stroke changed so far.
Returns
Section titled “Returns”CellRegion | null