Table of Contents

Method IsPosInSelection

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v9.dll

IsPosInSelection(Point)

Indicates whether given position located within the selected region.

public virtual bool IsPosInSelection(Point position)

Parameters

position Point

Position 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 int

Horizontal coordinate of the position to check.

y int

Vertical 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)

Parameters

x int
y int
checkEnd bool

Returns

bool