Uses of Class
Microsoft.Xna.Framework.Rectangle

Packages that use Rectangle
Microsoft.Xna.Framework   
Microsoft.Xna.Framework.Graphics   
 

Uses of Rectangle in Microsoft.Xna.Framework
 

Fields in Microsoft.Xna.Framework declared as Rectangle
static Rectangle Rectangle.Empty
          Returns a Rectangle with all of its values set to zero.
 

Methods in Microsoft.Xna.Framework that return Rectangle
static Rectangle Rectangle.Intersect(Rectangle value1, Rectangle value2)
          Creates a Rectangle defining the area where one rectangle overlaps with another rectangle.
static Rectangle Rectangle.Union(Rectangle value1, Rectangle value2)
          Creates a new Rectangle that exactly contains two other rectangles.
 

Methods in Microsoft.Xna.Framework with parameters of type Rectangle
 boolean Rectangle.Contains(Rectangle value)
          Determines whether this Rectangle entirely contains a specified Rectangle.
 void Rectangle.Contains(Rectangle value, boolean result)
          Determines whether this Rectangle entirely contains a specified Rectangle.
 boolean Rectangle.Equals(Rectangle other)
          Determines whether the specified Object is equal to the Rectangle.
static Rectangle Rectangle.Intersect(Rectangle value1, Rectangle value2)
          Creates a Rectangle defining the area where one rectangle overlaps with another rectangle.
static void Rectangle.Intersect(Rectangle value1, Rectangle value2, Rectangle result)
          Creates a Rectangle defining the area where one rectangle overlaps with another rectangle.
 boolean Rectangle.Intersects(Rectangle value)
          Determines whether a specified Rectangle intersects with this Rectangle.
 void Rectangle.Intersects(Rectangle value, boolean result)
          Determines whether a specified Rectangle intersects with this Rectangle.
static Rectangle Rectangle.Union(Rectangle value1, Rectangle value2)
          Creates a new Rectangle that exactly contains two other rectangles.
static void Rectangle.Union(Rectangle value1, Rectangle value2, Rectangle result)
          Creates a new Rectangle that exactly contains two other rectangles.
 

Uses of Rectangle in Microsoft.Xna.Framework.Graphics
 

Methods in Microsoft.Xna.Framework.Graphics that return Rectangle
 Rectangle Texture2D.Bounds()
          Gets the size of this resource.
 Rectangle Viewport.getBounds()
          Gets the size of this resource.
 Rectangle PresentationParameters.getBounds()
           
 Rectangle DisplayMode.getTitleSafeArea()
          Returns the title safe area of the display.
 Rectangle Viewport.TitleSafeArea()
          Returns the title safe area of the current viewport.
 

Methods in Microsoft.Xna.Framework.Graphics with parameters of type Rectangle
 void SpriteBatch.Draw(Texture2D texture, Rectangle destinationRectangle, Color color)
          Adds a sprite to a batch of sprites for rendering using the specified texture, destination rectangle, and color.
 void SpriteBatch.Draw(Texture2D texture, Rectangle destinationRectangle, Rectangle sourceRectangle, Color color)
          Adds a sprite to a batch of sprites for rendering using the specified texture, destination rectangle, source rectangle, and color.
 void SpriteBatch.Draw(Texture2D texture, Rectangle destinationRectangle, Rectangle sourceRectangle, Color color, float rotation, Vector2 origin, SpriteEffects effects, float layerDepth)
           
 void SpriteBatch.Draw(Texture2D texture, Vector2 position, Rectangle sourceRectangle, Color color)
          Adds a sprite to a batch of sprites for rendering using the specified texture, position, source rectangle, and color.
 void SpriteBatch.Draw(Texture2D texture, Vector2 position, Rectangle sourceRectangle, Color color, float rotation, Vector2 origin, float scale, SpriteEffects effects, float layerDepth)
          Adds a sprite to a batch of sprites for rendering using the specified texture, destination rectangle, source rectangle, color, rotation, origin, effects and layer.
 void SpriteBatch.Draw(Texture2D texture, Vector2 position, Rectangle sourceRectangle, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth)
           
<T> void
GraphicsDevice.GetBackBufferData(Rectangle rect, T[] data, int startIndex, int elementCount)
           
<T extends java.lang.Number>
void
TextureCube.GetData(CubeMapFace cubeMapFace, int level, Rectangle rect, T[] data, int startIndex, int elementCount)
           
<T> void
Texture2D.GetData(int level, Rectangle rect, T[] data, int startIndex, int elementCount)
          Gets a copy of 2D texture data, specifying a mipmap level, source rectangle, start index, and number of elements.
 void Viewport.setBounds(Rectangle bounds)
          Sets the size of this resource.
<T extends java.lang.Number>
void
TextureCube.SetData(CubeMapFace cubeMapFace, int level, Rectangle rect, T[] data, int startIndex, int elementCount)
          Sets cube texture data, specifying a cubemap face, mipmap level, source rectangle, start index, and number of elements.
<T> void
Texture2D.SetData(int level, Rectangle rect, T[] data, int startIndex, int elementCount)
          Sets 2D texture data, specifying a mipmap level, source rectangle, start index, and number of elements.
 

Constructors in Microsoft.Xna.Framework.Graphics with parameters of type Rectangle
Viewport(Rectangle bounds)
          Creates an instance of this object.