Move/Scroll the layer to a new position based on the current map position.
The layer's current position is offset by its position on the map and scaled
by the layer's scroll rate.
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax public void Move(
Point MapPosition
)
Parameters
- MapPosition
- Type: System.DrawingPoint
Position of the map. If one component is int.minValue,
that axis is not affected.
Remarks Map positions are usually negative because the map position indicates
the position of the top-left corner of the map which is usually scrolled off
the top-left corner of the screen to a negative position.
See Also