[This is preliminary documentation and is subject to change.]
Checks the position of the point in reference to the bottom of the screen.
| C# | Visual Basic | Visual C++ |
public Point CheckYPosition( Point currentPoint, int height )
Public Function CheckYPosition ( _ currentPoint As Point, _ height As Integer _ ) As Point
public: Point CheckYPosition ( Point currentPoint, int height )
- currentPoint (Point)
- The current point.
- height (Int32)
- The height.
The current point, or the current point with a different Y value.
Changes the Y coordinate to keep the point on the screen.