title: XNA How to make xna not to read transparent color
body: <p>I am fairly new to xna. I just created a sprite with transparent background(magenta). Problem is my Rectangle is reading the coordinates of whole sprite not of visible one. How do I make it read only the visible sprite. </p>
  
  <pre class="lang-cs prettyprint-override"><code>myrectangle = new Rectangle(0, 0, box.Width, box.Height);
  </code></pre>
  
  <p>I want to place my visible part not transparent at that position. Thanks in advance.     </p>