Click or drag to resize
SpriteStateLocalBounds Property
Returns a rectangle (relative to the origin of the sprite) that bounds all the graphics in this state.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public Rectangle LocalBounds { get; }

Property Value

Type: Rectangle
Remarks
This is used to determine when part or all of the sprite is visible on the current view of the sprite's layer, and consequently, whether it should be drawn.
See Also