| SpriteNodeLastBounds Property |
Gets the location and size in pixel at which the sprite was rendered.
Namespace: DigitalRune.Graphics.SceneGraphAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public Rectangle LastBounds { get; }
Public ReadOnly Property LastBounds As Rectangle
Get
public:
property Rectangle LastBounds {
Rectangle get ();
}
member LastBounds : Rectangle with get
Property Value
Type:
RectangleThe 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