Method IsPosInSelection
IsPosInSelection(Point)
Indicates whether given position located within the selected region.
public virtual bool IsPosInSelection(Point position)
Parameters
position
PointPosition 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
x
intHorizontal coordinate of the position to check.
y
intVertical 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)