focusCoordinate property

  1. @override
IntVector2 get focusCoordinate
override

The coordinate within the selection that describes the location where further directional changes should be based on.

For example, if a selection is supposed to expand top the top, the new size will be calculated in such a way that should include the cell with a coordinate that equals to:

// given focusCoordinate is f
newF = IntVector2(f.left, f.top -1)

Usually diametrically opposed to anchorCoordinate.

Implementation

@override
IntVector2 get focusCoordinate => anchorCoordinate;