You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1126 lines
55 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>Otter: Otter.Draw Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="otterlogosmall.png"/></td>
<td style="padding-left: 0.5em;">
<div id="projectname">Otter
&#160;<span id="projectnumber">0.9.8.91</span>
</div>
<div id="projectbrief">2d Game Development Framework based on SFML.Net</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Packages</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_otter_1_1_draw.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Properties</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_otter_1_1_draw-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Otter.Draw Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Class used for rendering graphics.
<a href="class_otter_1_1_draw.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a6cd163fa59768d2a4f20774202630a97"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_draw.html#a6cd163fa59768d2a4f20774202630a97">Graphic</a> (<a class="el" href="class_otter_1_1_graphic.html">Graphic</a> graphic, float x=0, float y=0)</td></tr>
<tr class="memdesc:a6cd163fa59768d2a4f20774202630a97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Renders a <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a> to the current target <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a>. <a href="#a6cd163fa59768d2a4f20774202630a97">More...</a><br/></td></tr>
<tr class="separator:a6cd163fa59768d2a4f20774202630a97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a845978a6b7bc4f9dbdc11091861391"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_draw.html#a3a845978a6b7bc4f9dbdc11091861391">Entity</a> (<a class="el" href="class_otter_1_1_entity.html">Entity</a> e)</td></tr>
<tr class="memdesc:a3a845978a6b7bc4f9dbdc11091861391"><td class="mdescLeft">&#160;</td><td class="mdescRight">Renders an <a class="el" href="class_otter_1_1_entity.html" title="Class used for a game object. The bread and butter of your game. Entities are added to Scenes which a...">Entity</a>. <a href="#a3a845978a6b7bc4f9dbdc11091861391">More...</a><br/></td></tr>
<tr class="separator:a3a845978a6b7bc4f9dbdc11091861391"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0247b97d5b62f91a526367187079550"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_draw.html#aa0247b97d5b62f91a526367187079550">Entity</a> (<a class="el" href="class_otter_1_1_entity.html">Entity</a> e, float x=0, float y=0)</td></tr>
<tr class="memdesc:aa0247b97d5b62f91a526367187079550"><td class="mdescLeft">&#160;</td><td class="mdescRight">Renders an <a class="el" href="class_otter_1_1_entity.html" title="Class used for a game object. The bread and butter of your game. Entities are added to Scenes which a...">Entity</a> at a specified X Y position. <a href="#aa0247b97d5b62f91a526367187079550">More...</a><br/></td></tr>
<tr class="separator:aa0247b97d5b62f91a526367187079550"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af65d28277eeb9a043627ac4cf174d211"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_draw.html#af65d28277eeb9a043627ac4cf174d211">Text</a> (string str, int size, float x=0, float y=0)</td></tr>
<tr class="memdesc:af65d28277eeb9a043627ac4cf174d211"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws simple <a class="el" href="class_otter_1_1_text.html" title="Graphic used to display simple text. Much faster than RichText, but more limited options. ">Text</a>. Should only be used for debugging as this creates <a class="el" href="class_otter_1_1_text.html" title="Graphic used to display simple text. Much faster than RichText, but more limited options. ">Text</a> Graphics each time it's called! <a href="#af65d28277eeb9a043627ac4cf174d211">More...</a><br/></td></tr>
<tr class="separator:af65d28277eeb9a043627ac4cf174d211"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa30f15665057efec84fd415a82f5551a"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_draw.html#aa30f15665057efec84fd415a82f5551a">ImageClip</a> (<a class="el" href="class_otter_1_1_image.html">Image</a> image, <a class="el" href="struct_otter_1_1_rectangle.html">Rectangle</a> clip, float x=0, float y=0)</td></tr>
<tr class="memdesc:aa30f15665057efec84fd415a82f5551a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Renders a clipped <a class="el" href="class_otter_1_1_image.html" title="Graphic type that is used to represent a static image. ">Image</a> to the current target <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a>. <a href="#aa30f15665057efec84fd415a82f5551a">More...</a><br/></td></tr>
<tr class="separator:aa30f15665057efec84fd415a82f5551a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c7525d59dae792d556f6e26414707b2"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_draw.html#a0c7525d59dae792d556f6e26414707b2">ImageWaveX</a> (<a class="el" href="class_otter_1_1_image.html">Image</a> image, int step, float timer, float rate, float amp, float freq, float x=0, float y=0)</td></tr>
<tr class="memdesc:a0c7525d59dae792d556f6e26414707b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws an <a class="el" href="class_otter_1_1_image.html" title="Graphic type that is used to represent a static image. ">Image</a> in parts to form a horizontally waving image. <a href="#a0c7525d59dae792d556f6e26414707b2">More...</a><br/></td></tr>
<tr class="separator:a0c7525d59dae792d556f6e26414707b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aceaf89a2f85d18a8020f7dd96f30ece7"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_draw.html#aceaf89a2f85d18a8020f7dd96f30ece7">ImageWaveY</a> (<a class="el" href="class_otter_1_1_image.html">Image</a> image, int step, float timer, float rate, float amp, float freq, float x=0, float y=0)</td></tr>
<tr class="memdesc:aceaf89a2f85d18a8020f7dd96f30ece7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws an <a class="el" href="class_otter_1_1_image.html" title="Graphic type that is used to represent a static image. ">Image</a> in parts to form a vertically waving image. <a href="#aceaf89a2f85d18a8020f7dd96f30ece7">More...</a><br/></td></tr>
<tr class="separator:aceaf89a2f85d18a8020f7dd96f30ece7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14fb93503e8365f9def4d9b14fe2155a"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_draw.html#a14fb93503e8365f9def4d9b14fe2155a">SetTarget</a> (<a class="el" href="class_otter_1_1_surface.html">Surface</a> target)</td></tr>
<tr class="memdesc:a14fb93503e8365f9def4d9b14fe2155a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> that is being rendered to. <a href="#a14fb93503e8365f9def4d9b14fe2155a">More...</a><br/></td></tr>
<tr class="separator:a14fb93503e8365f9def4d9b14fe2155a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f3925c5a7bc3aaf81daf5b35e85a25c"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_draw.html#a6f3925c5a7bc3aaf81daf5b35e85a25c">ResetTarget</a> ()</td></tr>
<tr class="memdesc:a6f3925c5a7bc3aaf81daf5b35e85a25c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> that is being rendered to back to the default for the current <a class="el" href="class_otter_1_1_game.html" title="ᶜ(ᵔᴥᵔ)ᵓ Core class Otter. Create a Game, and then use Game.Start(); to run it. ">Game</a>. <a href="#a6f3925c5a7bc3aaf81daf5b35e85a25c">More...</a><br/></td></tr>
<tr class="separator:a6f3925c5a7bc3aaf81daf5b35e85a25c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39b4b2ceea0cfd265d5d6a48ae278bf4"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_draw.html#a39b4b2ceea0cfd265d5d6a48ae278bf4">Circle</a> (float x, float y, int radius, <a class="el" href="class_otter_1_1_color.html">Color</a> fill=null, <a class="el" href="class_otter_1_1_color.html">Color</a> outline=null, float outlineThickness=0)</td></tr>
<tr class="memdesc:a39b4b2ceea0cfd265d5d6a48ae278bf4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a circle. Recommended to use only for debugging purposes. <a href="#a39b4b2ceea0cfd265d5d6a48ae278bf4">More...</a><br/></td></tr>
<tr class="separator:a39b4b2ceea0cfd265d5d6a48ae278bf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7035219709163e47e75910d805e3fb68"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_draw.html#a7035219709163e47e75910d805e3fb68">Circle</a> (float x, float y, float radius, <a class="el" href="class_otter_1_1_color.html">Color</a> color)</td></tr>
<tr class="memdesc:a7035219709163e47e75910d805e3fb68"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a circle. Recommended to use only for debugging purposes. <a href="#a7035219709163e47e75910d805e3fb68">More...</a><br/></td></tr>
<tr class="separator:a7035219709163e47e75910d805e3fb68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e8121dbe23153159bbd59b979790095"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_draw.html#a1e8121dbe23153159bbd59b979790095">Rectangle</a> (float x, float y, float width, float height, <a class="el" href="class_otter_1_1_color.html">Color</a> fill=null, <a class="el" href="class_otter_1_1_color.html">Color</a> outline=null, float outlineThickness=0)</td></tr>
<tr class="memdesc:a1e8121dbe23153159bbd59b979790095"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a rectangle. Recommended to use only for debugging purposes. <a href="#a1e8121dbe23153159bbd59b979790095">More...</a><br/></td></tr>
<tr class="separator:a1e8121dbe23153159bbd59b979790095"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1d2b41d12c122b3f67ba8e971af62b1"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_draw.html#ac1d2b41d12c122b3f67ba8e971af62b1">Line</a> (float x1, float y1, float x2, float y2, <a class="el" href="class_otter_1_1_color.html">Color</a> color)</td></tr>
<tr class="memdesc:ac1d2b41d12c122b3f67ba8e971af62b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a line using an OpenGL line. <a href="#ac1d2b41d12c122b3f67ba8e971af62b1">More...</a><br/></td></tr>
<tr class="separator:ac1d2b41d12c122b3f67ba8e971af62b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99bc5560206c7e5fa676d88717a05626"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_draw.html#a99bc5560206c7e5fa676d88717a05626">Line</a> (float x1, float y1, float x2, float y2, <a class="el" href="class_otter_1_1_color.html">Color</a> color, float thickness)</td></tr>
<tr class="memdesc:a99bc5560206c7e5fa676d88717a05626"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a line with a thickness using a quad. <a href="#a99bc5560206c7e5fa676d88717a05626">More...</a><br/></td></tr>
<tr class="separator:a99bc5560206c7e5fa676d88717a05626"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ceb1e863ef49586dee9138ed909130e"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_draw.html#a3ceb1e863ef49586dee9138ed909130e">RoundedLine</a> (float x1, float y1, float x2, float y2, <a class="el" href="class_otter_1_1_color.html">Color</a> color, float thickness)</td></tr>
<tr class="memdesc:a3ceb1e863ef49586dee9138ed909130e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a line with rounded ends. <a href="#a3ceb1e863ef49586dee9138ed909130e">More...</a><br/></td></tr>
<tr class="separator:a3ceb1e863ef49586dee9138ed909130e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:ac54d3571d171ec490b7c4e7b53fd2726"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_otter_1_1_surface.html">Surface</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_draw.html#ac54d3571d171ec490b7c4e7b53fd2726">Target</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ac54d3571d171ec490b7c4e7b53fd2726"><td class="mdescLeft">&#160;</td><td class="mdescRight">The current target <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> to render to. <a href="#ac54d3571d171ec490b7c4e7b53fd2726">More...</a><br/></td></tr>
<tr class="separator:ac54d3571d171ec490b7c4e7b53fd2726"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a333473b7cb624a556910f2f713e7420d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_otter_1_1_surface.html">Surface</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_draw.html#a333473b7cb624a556910f2f713e7420d">GameTarget</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a333473b7cb624a556910f2f713e7420d"><td class="mdescLeft">&#160;</td><td class="mdescRight">The surface that current <a class="el" href="class_otter_1_1_game.html" title="ᶜ(ᵔᴥᵔ)ᵓ Core class Otter. Create a Game, and then use Game.Start(); to run it. ">Game</a> is rendering to. <a href="#a333473b7cb624a556910f2f713e7420d">More...</a><br/></td></tr>
<tr class="separator:a333473b7cb624a556910f2f713e7420d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class used for rendering graphics. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a39b4b2ceea0cfd265d5d6a48ae278bf4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Otter.Draw.Circle </td>
<td>(</td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>radius</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_otter_1_1_color.html">Color</a>&#160;</td>
<td class="paramname"><em>fill</em> = <code>null</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_otter_1_1_color.html">Color</a>&#160;</td>
<td class="paramname"><em>outline</em> = <code>null</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>outlineThickness</em> = <code>0</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws a circle. Recommended to use only for debugging purposes. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>The X position of the top left of the circle.</td></tr>
<tr><td class="paramname">y</td><td>The Y position of the top left of the circle.</td></tr>
<tr><td class="paramname">radius</td><td>The radius of the circle.</td></tr>
<tr><td class="paramname">fill</td><td>The fill color of the circle.</td></tr>
<tr><td class="paramname">outline</td><td>The outline color of the circle.</td></tr>
<tr><td class="paramname">outlineThickness</td><td>The outline thickness of the circle.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a7035219709163e47e75910d805e3fb68"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Otter.Draw.Circle </td>
<td>(</td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>radius</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_otter_1_1_color.html">Color</a>&#160;</td>
<td class="paramname"><em>color</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws a circle. Recommended to use only for debugging purposes. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>The X position of the top left of the circle.</td></tr>
<tr><td class="paramname">y</td><td>The Y position of the top left of the circle.</td></tr>
<tr><td class="paramname">radius</td><td>The radius of the circle.</td></tr>
<tr><td class="paramname">color</td><td>The fill color of the circle.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a3a845978a6b7bc4f9dbdc11091861391"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Otter.Draw.Entity </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_otter_1_1_entity.html">Entity</a>&#160;</td>
<td class="paramname"><em>e</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Renders an <a class="el" href="class_otter_1_1_entity.html" title="Class used for a game object. The bread and butter of your game. Entities are added to Scenes which a...">Entity</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">e</td><td>The <a class="el" href="class_otter_1_1_entity.html" title="Class used for a game object. The bread and butter of your game. Entities are added to Scenes which a...">Entity</a> to render.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aa0247b97d5b62f91a526367187079550"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Otter.Draw.Entity </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_otter_1_1_entity.html">Entity</a>&#160;</td>
<td class="paramname"><em>e</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>x</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>y</em> = <code>0</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Renders an <a class="el" href="class_otter_1_1_entity.html" title="Class used for a game object. The bread and butter of your game. Entities are added to Scenes which a...">Entity</a> at a specified X Y position. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">e</td><td>The <a class="el" href="class_otter_1_1_entity.html" title="Class used for a game object. The bread and butter of your game. Entities are added to Scenes which a...">Entity</a> to render.</td></tr>
<tr><td class="paramname">x</td><td>The X position to place the <a class="el" href="class_otter_1_1_entity.html" title="Class used for a game object. The bread and butter of your game. Entities are added to Scenes which a...">Entity</a> for rendering.</td></tr>
<tr><td class="paramname">y</td><td>The Y position to place the <a class="el" href="class_otter_1_1_entity.html" title="Class used for a game object. The bread and butter of your game. Entities are added to Scenes which a...">Entity</a> for rendering.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a6cd163fa59768d2a4f20774202630a97"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Otter.Draw.Graphic </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_otter_1_1_graphic.html">Graphic</a>&#160;</td>
<td class="paramname"><em>graphic</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>x</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>y</em> = <code>0</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Renders a <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a> to the current target <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">graphic</td><td>The <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a> to render.</td></tr>
<tr><td class="paramname">x</td><td>The x offset to position the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a> at.</td></tr>
<tr><td class="paramname">y</td><td>The y offset to position the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a> at.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aa30f15665057efec84fd415a82f5551a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Otter.Draw.ImageClip </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_otter_1_1_image.html">Image</a>&#160;</td>
<td class="paramname"><em>image</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_otter_1_1_rectangle.html">Rectangle</a>&#160;</td>
<td class="paramname"><em>clip</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>x</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>y</em> = <code>0</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Renders a clipped <a class="el" href="class_otter_1_1_image.html" title="Graphic type that is used to represent a static image. ">Image</a> to the current target <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">image</td><td>the <a class="el" href="class_otter_1_1_image.html" title="Graphic type that is used to represent a static image. ">Image</a> to render.</td></tr>
<tr><td class="paramname">clip</td><td>The portion of the <a class="el" href="class_otter_1_1_image.html" title="Graphic type that is used to represent a static image. ">Image</a> to render.</td></tr>
<tr><td class="paramname">x</td><td>The x offset to position the <a class="el" href="class_otter_1_1_image.html" title="Graphic type that is used to represent a static image. ">Image</a> at.</td></tr>
<tr><td class="paramname">y</td><td>The y offset to position the <a class="el" href="class_otter_1_1_image.html" title="Graphic type that is used to represent a static image. ">Image</a> at.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a0c7525d59dae792d556f6e26414707b2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Otter.Draw.ImageWaveX </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_otter_1_1_image.html">Image</a>&#160;</td>
<td class="paramname"><em>image</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>step</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>timer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>rate</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>amp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>freq</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>x</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>y</em> = <code>0</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws an <a class="el" href="class_otter_1_1_image.html" title="Graphic type that is used to represent a static image. ">Image</a> in parts to form a horizontally waving image. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">image</td><td>The image to draw.</td></tr>
<tr><td class="paramname">step</td><td>How many steps to iterate through for the wave.</td></tr>
<tr><td class="paramname">timer</td><td>The timer the wave should act with.</td></tr>
<tr><td class="paramname">rate</td><td>The rate which the wave should move at.</td></tr>
<tr><td class="paramname">amp</td><td>How far the wave will offset the image.</td></tr>
<tr><td class="paramname">freq</td><td>How frequent the wave should repeat.</td></tr>
<tr><td class="paramname">x</td><td>The x position to draw the image from.</td></tr>
<tr><td class="paramname">y</td><td>The y position to draw the image from.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aceaf89a2f85d18a8020f7dd96f30ece7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Otter.Draw.ImageWaveY </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_otter_1_1_image.html">Image</a>&#160;</td>
<td class="paramname"><em>image</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>step</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>timer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>rate</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>amp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>freq</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>x</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>y</em> = <code>0</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws an <a class="el" href="class_otter_1_1_image.html" title="Graphic type that is used to represent a static image. ">Image</a> in parts to form a vertically waving image. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">image</td><td>The image to draw.</td></tr>
<tr><td class="paramname">step</td><td>How many steps to iterate through for the wave.</td></tr>
<tr><td class="paramname">timer</td><td>The timer the wave should act with.</td></tr>
<tr><td class="paramname">rate</td><td>The rate which the wave should move at.</td></tr>
<tr><td class="paramname">amp</td><td>How far the wave will offset the image.</td></tr>
<tr><td class="paramname">freq</td><td>How frequent the wave should repeat.</td></tr>
<tr><td class="paramname">x</td><td>The x position to draw the image from.</td></tr>
<tr><td class="paramname">y</td><td>The y position to draw the image from.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ac1d2b41d12c122b3f67ba8e971af62b1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Otter.Draw.Line </td>
<td>(</td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>x1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>y1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>x2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>y2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_otter_1_1_color.html">Color</a>&#160;</td>
<td class="paramname"><em>color</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws a line using an OpenGL line. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x1</td><td>The X position of the first point.</td></tr>
<tr><td class="paramname">y1</td><td>The Y position of the first point.</td></tr>
<tr><td class="paramname">x2</td><td>The X position of the second point.</td></tr>
<tr><td class="paramname">y2</td><td>The Y position of the second point.</td></tr>
<tr><td class="paramname">color</td><td>The color of the line.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a99bc5560206c7e5fa676d88717a05626"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Otter.Draw.Line </td>
<td>(</td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>x1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>y1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>x2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>y2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_otter_1_1_color.html">Color</a>&#160;</td>
<td class="paramname"><em>color</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>thickness</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws a line with a thickness using a quad. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x1</td><td>The X position of the first point.</td></tr>
<tr><td class="paramname">y1</td><td>The Y position of the first point.</td></tr>
<tr><td class="paramname">x2</td><td>The X position of the second point.</td></tr>
<tr><td class="paramname">y2</td><td>The Y position of the second point.</td></tr>
<tr><td class="paramname">color</td><td>The color of the line.</td></tr>
<tr><td class="paramname">thickness</td><td>The thickness of the line.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a1e8121dbe23153159bbd59b979790095"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Otter.Draw.Rectangle </td>
<td>(</td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_otter_1_1_color.html">Color</a>&#160;</td>
<td class="paramname"><em>fill</em> = <code>null</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_otter_1_1_color.html">Color</a>&#160;</td>
<td class="paramname"><em>outline</em> = <code>null</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>outlineThickness</em> = <code>0</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws a rectangle. Recommended to use only for debugging purposes. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>The X position of the top left of the rectangle.</td></tr>
<tr><td class="paramname">y</td><td>The Y position of the top left of the rectangle.</td></tr>
<tr><td class="paramname">width</td><td>The width of the rectangle.</td></tr>
<tr><td class="paramname">height</td><td>The height of the rectangle.</td></tr>
<tr><td class="paramname">fill</td><td>The fill color of the rectangle.</td></tr>
<tr><td class="paramname">outline</td><td>The outline color of the rectangle.</td></tr>
<tr><td class="paramname">outlineThickness</td><td>The outline thickness of the rectangle.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a6f3925c5a7bc3aaf81daf5b35e85a25c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Otter.Draw.ResetTarget </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reset the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> that is being rendered to back to the default for the current <a class="el" href="class_otter_1_1_game.html" title="ᶜ(ᵔᴥᵔ)ᵓ Core class Otter. Create a Game, and then use Game.Start(); to run it. ">Game</a>. </p>
</div>
</div>
<a class="anchor" id="a3ceb1e863ef49586dee9138ed909130e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Otter.Draw.RoundedLine </td>
<td>(</td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>x1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>y1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>x2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>y2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_otter_1_1_color.html">Color</a>&#160;</td>
<td class="paramname"><em>color</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>thickness</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws a line with rounded ends. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x1</td><td>The X position of the first point.</td></tr>
<tr><td class="paramname">y1</td><td>The Y position of the first point.</td></tr>
<tr><td class="paramname">x2</td><td>The X position of the second point.</td></tr>
<tr><td class="paramname">y2</td><td>The Y position of the second point.</td></tr>
<tr><td class="paramname">color</td><td>The color of the line.</td></tr>
<tr><td class="paramname">thickness</td><td>The thickness of the line.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a14fb93503e8365f9def4d9b14fe2155a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Otter.Draw.SetTarget </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_otter_1_1_surface.html">Surface</a>&#160;</td>
<td class="paramname"><em>target</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Change the <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> that is being rendered to. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">target</td><td>The new target <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a>.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="af65d28277eeb9a043627ac4cf174d211"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Otter.Draw.Text </td>
<td>(</td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>str</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>x</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>y</em> = <code>0</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws simple <a class="el" href="class_otter_1_1_text.html" title="Graphic used to display simple text. Much faster than RichText, but more limited options. ">Text</a>. Should only be used for debugging as this creates <a class="el" href="class_otter_1_1_text.html" title="Graphic used to display simple text. Much faster than RichText, but more limited options. ">Text</a> Graphics each time it's called! </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">str</td><td>The string to display.</td></tr>
<tr><td class="paramname">size</td><td>The size of the <a class="el" href="class_otter_1_1_text.html" title="Graphic used to display simple text. Much faster than RichText, but more limited options. ">Text</a>.</td></tr>
<tr><td class="paramname">x</td><td>The X position to render the <a class="el" href="class_otter_1_1_text.html" title="Graphic used to display simple text. Much faster than RichText, but more limited options. ">Text</a> from.</td></tr>
<tr><td class="paramname">y</td><td>The Y position to render the <a class="el" href="class_otter_1_1_text.html" title="Graphic used to display simple text. Much faster than RichText, but more limited options. ">Text</a> from.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a class="anchor" id="a333473b7cb624a556910f2f713e7420d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_otter_1_1_surface.html">Surface</a> Otter.Draw.GameTarget</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>The surface that current <a class="el" href="class_otter_1_1_game.html" title="ᶜ(ᵔᴥᵔ)ᵓ Core class Otter. Create a Game, and then use Game.Start(); to run it. ">Game</a> is rendering to. </p>
</div>
</div>
<a class="anchor" id="ac54d3571d171ec490b7c4e7b53fd2726"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_otter_1_1_surface.html">Surface</a> Otter.Draw.Target</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>The current target <a class="el" href="class_otter_1_1_surface.html" title="Graphic that represents a render target. By default the game uses a master surface to render the game...">Surface</a> to render to. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>Otter/Utility/Draw.cs</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespace_otter.html">Otter</a></li><li class="navelem"><a class="el" href="class_otter_1_1_draw.html">Draw</a></li>
<li class="footer">Generated on Thu May 12 2016 18:16:53 for Otter by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.5 </li>
</ul>
</div>
</body>
</html>