Click or drag to resize
SpriteBaseGetBounds Method
Returns information about the visual boundaries of the sprite's currently displayed frame(s).

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public virtual Rectangle GetBounds()

Return Value

Type: Rectangle
Rectangle object containing layer-relative coordinates that encompass the sprite's current image.
See Also