Method IsPosInSelection
IsPosInSelection(Point)
Indicates whether given position located within the selected region.
public virtual bool IsPosInSelection(Point position)
Parameters
positionPointPosition to check.
Returns
- bool
True if position in selected region; otherwise false.
IsPosInSelection(int, int)
Indicates whether given position located within the selected region.
public virtual bool IsPosInSelection(int x, int y)
Parameters
xintHorizontal coordinate of the position to check.
yintVertical coordinate of the position to check.
Returns
- bool
True if position in selected region; otherwise false.
IsPosInSelection(int, int, bool)
protected bool IsPosInSelection(int x, int y, bool checkEnd)