opposite property
Corner
get
opposite
The geometrically opposite of a Corner.
See also:
- CellUserSelectionModel.focus that is in the opposite of CellUserSelectionModel.anchorCorner
Implementation
Corner get opposite {
switch (this) {
case Corner.leftTop:
return Corner.rightBottom;
case Corner.rightTop:
return Corner.leftBottom;
case Corner.leftBottom:
return Corner.rightTop;
case Corner.rightBottom:
return Corner.leftTop;
}
}