Tests whether the specified coordinates on the area are allowed.

Namespace:  SGP.Baltie2D
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public bool IsValidPosition(
	int x,
	int y
)

Parameters

x
Type: System..::.Int32
The X coordinate.
y
Type: System..::.Int32
The Y coordinate.

Return Value

Returns trueTruetruetrue (True in Visual Basic), whether the coordinates are valid, otherwise trueTruetruetrue (True in Visual Basic).

See Also