Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- point
- A System.Drawing.Point value which represents the top-left position of the sprite within the image.
The point is in pixels and are relative to the image. Because a sprite may be a non rectangular region, the point is the top and left coordinates of a rectangle which bounds the sprite.
Note: This method fails if there is no current sprite.