<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="nl"> <head> <!-- Generated by javadoc (version 1.7.0_40) on Tue Oct 15 12:25:36 CEST 2013 --> <title>Uses of Class Microsoft.Xna.Framework.Rectangle</title> <meta name="date" content="2013-10-15"> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> </head> <body> <script type="text/javascript"><!-- if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Class Microsoft.Xna.Framework.Rectangle"; } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar_top"> <!-- --> </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../package-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-files/index-1.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../index.html?Microsoft/Xna/Framework/class-use/Rectangle.html" target="_top">Frames</a></li> <li><a href="Rectangle.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip-navbar_top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <div class="header"> <h2 title="Uses of Class Microsoft.Xna.Framework.Rectangle" class="title">Uses of Class<br>Microsoft.Xna.Framework.Rectangle</h2> </div> <div class="classUseContainer"> <ul class="blockList"> <li class="blockList"> <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> <caption><span>Packages that use <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a></span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Package</th> <th class="colLast" scope="col">Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="#Microsoft.Xna.Framework">Microsoft.Xna.Framework</a></td> <td class="colLast"> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="#Microsoft.Xna.Framework.Graphics">Microsoft.Xna.Framework.Graphics</a></td> <td class="colLast"> </td> </tr> </tbody> </table> </li> <li class="blockList"> <ul class="blockList"> <li class="blockList"><a name="Microsoft.Xna.Framework"> <!-- --> </a> <h3>Uses of <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> in <a href="../../../../Microsoft/Xna/Framework/package-summary.html">Microsoft.Xna.Framework</a></h3> <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation"> <caption><span>Fields in <a href="../../../../Microsoft/Xna/Framework/package-summary.html">Microsoft.Xna.Framework</a> declared as <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a></span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Field and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a></code></td> <td class="colLast"><span class="strong">Rectangle.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Rectangle.html#Empty">Empty</a></strong></code> <div class="block">Returns a Rectangle with all of its values set to zero.</div> </td> </tr> </tbody> </table> <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../Microsoft/Xna/Framework/package-summary.html">Microsoft.Xna.Framework</a> that return <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a></span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a></code></td> <td class="colLast"><span class="strong">Rectangle.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Rectangle.html#Intersect(Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Rectangle)">Intersect</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> value1, <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> value2)</code> <div class="block">Creates a Rectangle defining the area where one rectangle overlaps with another rectangle.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a></code></td> <td class="colLast"><span class="strong">Rectangle.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Rectangle.html#Union(Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Rectangle)">Union</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> value1, <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> value2)</code> <div class="block">Creates a new Rectangle that exactly contains two other rectangles.</div> </td> </tr> </tbody> </table> <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../Microsoft/Xna/Framework/package-summary.html">Microsoft.Xna.Framework</a> with parameters of type <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a></span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><span class="strong">Rectangle.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Rectangle.html#Contains(Microsoft.Xna.Framework.Rectangle)">Contains</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> value)</code> <div class="block">Determines whether this Rectangle entirely contains a specified Rectangle.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">Rectangle.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Rectangle.html#Contains(Microsoft.Xna.Framework.Rectangle, boolean)">Contains</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> value, boolean result)</code> <div class="block">Determines whether this Rectangle entirely contains a specified Rectangle.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><span class="strong">Rectangle.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Rectangle.html#Equals(Microsoft.Xna.Framework.Rectangle)">Equals</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> other)</code> <div class="block">Determines whether the specified Object is equal to the Rectangle.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a></code></td> <td class="colLast"><span class="strong">Rectangle.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Rectangle.html#Intersect(Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Rectangle)">Intersect</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> value1, <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> value2)</code> <div class="block">Creates a Rectangle defining the area where one rectangle overlaps with another rectangle.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><span class="strong">Rectangle.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Rectangle.html#Intersect(Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Rectangle)">Intersect</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> value1, <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> value2, <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> result)</code> <div class="block">Creates a Rectangle defining the area where one rectangle overlaps with another rectangle.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><span class="strong">Rectangle.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Rectangle.html#Intersects(Microsoft.Xna.Framework.Rectangle)">Intersects</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> value)</code> <div class="block">Determines whether a specified Rectangle intersects with this Rectangle.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">Rectangle.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Rectangle.html#Intersects(Microsoft.Xna.Framework.Rectangle, boolean)">Intersects</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> value, boolean result)</code> <div class="block">Determines whether a specified Rectangle intersects with this Rectangle.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a></code></td> <td class="colLast"><span class="strong">Rectangle.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Rectangle.html#Union(Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Rectangle)">Union</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> value1, <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> value2)</code> <div class="block">Creates a new Rectangle that exactly contains two other rectangles.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><span class="strong">Rectangle.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Rectangle.html#Union(Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Rectangle)">Union</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> value1, <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> value2, <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> result)</code> <div class="block">Creates a new Rectangle that exactly contains two other rectangles.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"><a name="Microsoft.Xna.Framework.Graphics"> <!-- --> </a> <h3>Uses of <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> in <a href="../../../../Microsoft/Xna/Framework/Graphics/package-summary.html">Microsoft.Xna.Framework.Graphics</a></h3> <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../Microsoft/Xna/Framework/Graphics/package-summary.html">Microsoft.Xna.Framework.Graphics</a> that return <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a></span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a></code></td> <td class="colLast"><span class="strong">Texture2D.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html#Bounds()">Bounds</a></strong>()</code> <div class="block">Gets the size of this resource.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a></code></td> <td class="colLast"><span class="strong">Viewport.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/Viewport.html#getBounds()">getBounds</a></strong>()</code> <div class="block">Gets the size of this resource.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a></code></td> <td class="colLast"><span class="strong">PresentationParameters.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/PresentationParameters.html#getBounds()">getBounds</a></strong>()</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a></code></td> <td class="colLast"><span class="strong">DisplayMode.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/DisplayMode.html#getTitleSafeArea()">getTitleSafeArea</a></strong>()</code> <div class="block">Returns the title safe area of the display.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a></code></td> <td class="colLast"><span class="strong">Viewport.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/Viewport.html#TitleSafeArea()">TitleSafeArea</a></strong>()</code> <div class="block">Returns the title safe area of the current viewport.</div> </td> </tr> </tbody> </table> <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../Microsoft/Xna/Framework/Graphics/package-summary.html">Microsoft.Xna.Framework.Graphics</a> with parameters of type <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a></span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">SpriteBatch.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/SpriteBatch.html#Draw(Microsoft.Xna.Framework.Graphics.Texture2D, Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Color)">Draw</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html" title="class in Microsoft.Xna.Framework.Graphics">Texture2D</a> texture, <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> destinationRectangle, <a href="../../../../Microsoft/Xna/Framework/Color.html" title="class in Microsoft.Xna.Framework">Color</a> color)</code> <div class="block">Adds a sprite to a batch of sprites for rendering using the specified texture, destination rectangle, and color.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">SpriteBatch.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/SpriteBatch.html#Draw(Microsoft.Xna.Framework.Graphics.Texture2D, Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Color)">Draw</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html" title="class in Microsoft.Xna.Framework.Graphics">Texture2D</a> texture, <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> destinationRectangle, <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> sourceRectangle, <a href="../../../../Microsoft/Xna/Framework/Color.html" title="class in Microsoft.Xna.Framework">Color</a> color)</code> <div class="block">Adds a sprite to a batch of sprites for rendering using the specified texture, destination rectangle, source rectangle, and color.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">SpriteBatch.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/SpriteBatch.html#Draw(Microsoft.Xna.Framework.Graphics.Texture2D, Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Color, float, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Graphics.SpriteEffects, float)">Draw</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html" title="class in Microsoft.Xna.Framework.Graphics">Texture2D</a> texture, <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> destinationRectangle, <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> sourceRectangle, <a href="../../../../Microsoft/Xna/Framework/Color.html" title="class in Microsoft.Xna.Framework">Color</a> color, float rotation, <a href="../../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> origin, <a href="../../../../Microsoft/Xna/Framework/Graphics/SpriteEffects.html" title="enum in Microsoft.Xna.Framework.Graphics">SpriteEffects</a> effects, float layerDepth)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">SpriteBatch.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/SpriteBatch.html#Draw(Microsoft.Xna.Framework.Graphics.Texture2D, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Color)">Draw</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html" title="class in Microsoft.Xna.Framework.Graphics">Texture2D</a> texture, <a href="../../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> position, <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> sourceRectangle, <a href="../../../../Microsoft/Xna/Framework/Color.html" title="class in Microsoft.Xna.Framework">Color</a> color)</code> <div class="block">Adds a sprite to a batch of sprites for rendering using the specified texture, position, source rectangle, and color.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">SpriteBatch.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/SpriteBatch.html#Draw(Microsoft.Xna.Framework.Graphics.Texture2D, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Color, float, Microsoft.Xna.Framework.Vector2, float, Microsoft.Xna.Framework.Graphics.SpriteEffects, float)">Draw</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html" title="class in Microsoft.Xna.Framework.Graphics">Texture2D</a> texture, <a href="../../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> position, <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> sourceRectangle, <a href="../../../../Microsoft/Xna/Framework/Color.html" title="class in Microsoft.Xna.Framework">Color</a> color, float rotation, <a href="../../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> origin, float scale, <a href="../../../../Microsoft/Xna/Framework/Graphics/SpriteEffects.html" title="enum in Microsoft.Xna.Framework.Graphics">SpriteEffects</a> effects, float layerDepth)</code> <div class="block">Adds a sprite to a batch of sprites for rendering using the specified texture, destination rectangle, source rectangle, color, rotation, origin, effects and layer.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">SpriteBatch.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/SpriteBatch.html#Draw(Microsoft.Xna.Framework.Graphics.Texture2D, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Color, float, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Graphics.SpriteEffects, float)">Draw</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html" title="class in Microsoft.Xna.Framework.Graphics">Texture2D</a> texture, <a href="../../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> position, <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> sourceRectangle, <a href="../../../../Microsoft/Xna/Framework/Color.html" title="class in Microsoft.Xna.Framework">Color</a> color, float rotation, <a href="../../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> origin, <a href="../../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> scale, <a href="../../../../Microsoft/Xna/Framework/Graphics/SpriteEffects.html" title="enum in Microsoft.Xna.Framework.Graphics">SpriteEffects</a> effects, float layerDepth)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><T extends java.lang.Number> <br>void</code></td> <td class="colLast"><span class="strong">GraphicsDevice.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/GraphicsDevice.html#GetBackBufferData(Microsoft.Xna.Framework.Rectangle, T[], int, int)">GetBackBufferData</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> rect, T[] data, int startIndex, int offset)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><T extends java.lang.Number> <br>void</code></td> <td class="colLast"><span class="strong">TextureCube.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/TextureCube.html#GetData(Microsoft.Xna.Framework.Graphics.CubeMapFace, int, Microsoft.Xna.Framework.Rectangle, T[], int, int)">GetData</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/CubeMapFace.html" title="enum in Microsoft.Xna.Framework.Graphics">CubeMapFace</a> cubeMapFace, int level, <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> rect, T[] data, int startIndex, int elementCount)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><T> void</code></td> <td class="colLast"><span class="strong">Texture2D.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html#GetData(int, Microsoft.Xna.Framework.Rectangle, T[], int, int)">GetData</a></strong>(int level, <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> rect, T[] data, int startIndex, int elementCount)</code> <div class="block">Gets a copy of 2D texture data, specifying a mipmap level, source rectangle, start index, and number of elements.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">Viewport.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/Viewport.html#setBounds(Microsoft.Xna.Framework.Rectangle)">setBounds</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> bounds)</code> <div class="block">Sets the size of this resource.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><T extends java.lang.Number> <br>void</code></td> <td class="colLast"><span class="strong">TextureCube.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/TextureCube.html#SetData(Microsoft.Xna.Framework.Graphics.CubeMapFace, int, Microsoft.Xna.Framework.Rectangle, T[], int, int)">SetData</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Graphics/CubeMapFace.html" title="enum in Microsoft.Xna.Framework.Graphics">CubeMapFace</a> cubeMapFace, int level, <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> rect, T[] data, int startIndex, int elementCount)</code> <div class="block">Sets cube texture data, specifying a cubemap face, mipmap level, source rectangle, start index, and number of elements.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><T> void</code></td> <td class="colLast"><span class="strong">Texture2D.</span><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/Texture2D.html#SetData(int, Microsoft.Xna.Framework.Rectangle, T[], int, int)">SetData</a></strong>(int level, <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> rect, T[] data, int startIndex, int elementCount)</code> <div class="block">Sets 2D texture data, specifying a mipmap level, source rectangle, start index, and number of elements.</div> </td> </tr> </tbody> </table> <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation"> <caption><span>Constructors in <a href="../../../../Microsoft/Xna/Framework/Graphics/package-summary.html">Microsoft.Xna.Framework.Graphics</a> with parameters of type <a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a></span><span class="tabEnd"> </span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colLast"><code><strong><a href="../../../../Microsoft/Xna/Framework/Graphics/Viewport.html#Viewport(Microsoft.Xna.Framework.Rectangle)">Viewport</a></strong>(<a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Rectangle</a> bounds)</code> <div class="block">Creates an instance of this object.</div> </td> </tr> </tbody> </table> </li> </ul> </li> </ul> </div> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar_bottom"> <!-- --> </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../Microsoft/Xna/Framework/Rectangle.html" title="class in Microsoft.Xna.Framework">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../package-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-files/index-1.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../index.html?Microsoft/Xna/Framework/class-use/Rectangle.html" target="_top">Frames</a></li> <li><a href="Rectangle.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip-navbar_bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> </body> </html>