Click or drag to resize
DigitalRuneSpriteNodeLastBounds Property
Gets the location and size in pixel at which the sprite was rendered.

Namespace: DigitalRune.Graphics.SceneGraph
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public Rectangle LastBounds { get; }

Property Value

Type: Rectangle
The 2D bounding box of the sprite in pixel.
Remarks

The properties LastBounds and LastDepth are updated every time the sprite node is rendered. The property LastFrame indicates at which frame the sprite node was rendered last.

Note: The property LastBounds stores the unrotated bounding box.

See Also