[This is preliminary documentation and is subject to change.]
Checks the position of the point in reference to the right of the screen.
| C# | Visual Basic | Visual C++ |
public Point CheckXPosition( Point currentPoint, Screen screen, int width )
Public Function CheckXPosition ( _ currentPoint As Point, _ screen As Screen, _ width As Integer _ ) As Point
public: Point CheckXPosition ( Point currentPoint, Screen^ screen, int width )
- currentPoint (Point)
- The current point.
- screen (Screen)
- The screen (confines the coordinates to 'screen'). Set to null to allow any screen coord.
- width (Int32)
- The width.
Changes the X coordinate to keep the point on the screen.