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
Syntaxpublic Rectangle LocalBounds { get; }
Property Value
Type:
Rectangle
RemarksThis 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