Click or drag to resize
DigitalRunePackedTextureGetBounds Method
Gets the bounds of the packed texture in pixel.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public Rectangle GetBounds(
	float animationTime
)

Parameters

animationTime
Type: SystemSingle
For tile sets: The normalized animation time. (0 = start of the animation, 1 = end of animation)

Return Value

Type: Rectangle
The bounds of the packed texture in pixel.
See Also