SpriteControllerAdjustRectangle Method |
Adjust a rectangle that is based on the image, according to the stretch of the picturebox
Namespace:
SpriteLibrary
Assembly:
SpriteLibrary (in SpriteLibrary.dll) Version: 1.0.0.6 (1.0.0.6)
Syntaxpublic Rectangle AdjustRectangle(
Rectangle ImageRectangle
)
Parameters
- ImageRectangle
- Type: System.DrawingRectangle
A rectangle using coordinates from the image
Return Value
Type:
Rectanglea rectangle that is adjusted for the PictureBox
See Also