tsc_JobMapPoint

This class represents a point on the map window expressed in pixels, with 0,0 at the top left.

The X and Y coordinates may contain any value, and are not restricted to the visible window dimensions.

Public properties

int X;
Contains the horizontal coordinate, zero being the left of the visible area.

int Y;
Contains the vertical pixel coordinate, zero being the top of the visible area.

 

Public Constructors

tsc_JobMapPoint ();
Constructs a point with zero coordinates. This is also a perfectly valid coordinate so take care regarding it as empty.

tsc_JobMapPoint (int x, int y);
Constructs a point with the supplied X and Y.