Texture2D.Bounds Property

Gets the size of this resource.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

public Rectangle Bounds { get; }

Property Value

A bounding-box rectangle.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show: