public static DrawRectangle ( |
||
spriteBatch | XNA SpriteBatch instance; SpriteBatch.Begin() must be called before using this method | |
rect | The Rectangle to draw, in map pixels | |
region | Region of the map in pixels currently visible | |
layerDepth | System.Single | LayerDepth value to pass to SpriteBatch |
linecolor | Color | Color of the Rectangle border |
fillColor | Color | Color to fill the Rectangle with |
return | void |