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.
OtterPlayGround/Docs/class_otter_1_1_nine_slice....

1301 lines
117 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.NineSlice 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_nine_slice.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-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_otter_1_1_nine_slice-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Otter.NineSlice Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a> type used to render a panel made up of 9 slices of an image. Handy for rendering panels with border graphics.
<a href="class_otter_1_1_nine_slice.html#details">More...</a></p>
<p>Inherits <a class="el" href="class_otter_1_1_graphic.html">Otter.Graphic</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac44f303b983490c15be1e842362984d0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_nine_slice.html#ac44f303b983490c15be1e842362984d0">NineSlice</a> (string source, int width=0, int height=0, <a class="el" href="struct_otter_1_1_rectangle.html">Rectangle</a>?fillRect=null)</td></tr>
<tr class="memdesc:ac44f303b983490c15be1e842362984d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> with a file path to a <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a>. <a href="#ac44f303b983490c15be1e842362984d0">More...</a><br/></td></tr>
<tr class="separator:ac44f303b983490c15be1e842362984d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a939fb69e83fcafa44b82fffda4682fc1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_nine_slice.html#a939fb69e83fcafa44b82fffda4682fc1">NineSlice</a> (<a class="el" href="class_otter_1_1_texture.html">Texture</a> texture, int width, int height, <a class="el" href="struct_otter_1_1_rectangle.html">Rectangle</a>?fillRect=null)</td></tr>
<tr class="memdesc:a939fb69e83fcafa44b82fffda4682fc1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> with a <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a>. <a href="#a939fb69e83fcafa44b82fffda4682fc1">More...</a><br/></td></tr>
<tr class="separator:a939fb69e83fcafa44b82fffda4682fc1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97c28c09e03a80c5d25100f9f9848acc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_nine_slice.html#a97c28c09e03a80c5d25100f9f9848acc">NineSlice</a> (<a class="el" href="class_otter_1_1_atlas_texture.html">AtlasTexture</a> texture, int width, int height, <a class="el" href="struct_otter_1_1_rectangle.html">Rectangle</a>?fillRect=null)</td></tr>
<tr class="memdesc:a97c28c09e03a80c5d25100f9f9848acc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> with an <a class="el" href="class_otter_1_1_atlas_texture.html" title="Class used for representing a texture on a texture atlas. ">AtlasTexture</a>. <a href="#a97c28c09e03a80c5d25100f9f9848acc">More...</a><br/></td></tr>
<tr class="separator:a97c28c09e03a80c5d25100f9f9848acc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16ac9d0295245bd93069b28ca9ce8405"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_otter_1_1_nine_slice.html">NineSlice</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_nine_slice.html#a16ac9d0295245bd93069b28ca9ce8405">SetFillRect</a> (int x1, int y1, int x2, int y2)</td></tr>
<tr class="memdesc:a16ac9d0295245bd93069b28ca9ce8405"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the FillRect of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a>. This determines which areas are stretched or tiled when rendering the tiles. <a href="#a16ac9d0295245bd93069b28ca9ce8405">More...</a><br/></td></tr>
<tr class="separator:a16ac9d0295245bd93069b28ca9ce8405"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d53a105efc7c9535432df637d4f4523"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_otter_1_1_rectangle.html">Rectangle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_nine_slice.html#a5d53a105efc7c9535432df637d4f4523">GetFillRect</a> ()</td></tr>
<tr class="memdesc:a5d53a105efc7c9535432df637d4f4523"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the FillRect of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a>. This determines which areas are stretched or tiled when rendering the tiles. <a href="#a5d53a105efc7c9535432df637d4f4523">More...</a><br/></td></tr>
<tr class="separator:a5d53a105efc7c9535432df637d4f4523"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a621b548d0b90000340ea1a00f8b73450"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_otter_1_1_nine_slice.html">NineSlice</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_nine_slice.html#a621b548d0b90000340ea1a00f8b73450">SetBorderPadding</a> (int top, int right, int bottom, int left)</td></tr>
<tr class="memdesc:a621b548d0b90000340ea1a00f8b73450"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the FillRect of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> using padding values. <a href="#a621b548d0b90000340ea1a00f8b73450">More...</a><br/></td></tr>
<tr class="separator:a621b548d0b90000340ea1a00f8b73450"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac429ad99409b62043722845dc12fa7ae"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_otter_1_1_nine_slice.html">NineSlice</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_nine_slice.html#ac429ad99409b62043722845dc12fa7ae">SetBorderPadding</a> (int padding)</td></tr>
<tr class="memdesc:ac429ad99409b62043722845dc12fa7ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the FillRect of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> using padding values. <a href="#ac429ad99409b62043722845dc12fa7ae">More...</a><br/></td></tr>
<tr class="separator:ac429ad99409b62043722845dc12fa7ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad8914d3798ccb32df9892f8be463d87"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_otter_1_1_nine_slice.html">NineSlice</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_nine_slice.html#aad8914d3798ccb32df9892f8be463d87">SetBorderPadding</a> (int horizontal, int vertical)</td></tr>
<tr class="memdesc:aad8914d3798ccb32df9892f8be463d87"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the FillRect of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> using padding values. <a href="#aad8914d3798ccb32df9892f8be463d87">More...</a><br/></td></tr>
<tr class="separator:aad8914d3798ccb32df9892f8be463d87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad048146d1f6ee5323c5d39eecb7f76d7"><td class="memItemLeft" align="right" valign="top">override void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_nine_slice.html#ad048146d1f6ee5323c5d39eecb7f76d7">Render</a> (float x=0, float y=0)</td></tr>
<tr class="memdesc:ad048146d1f6ee5323c5d39eecb7f76d7"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_otter_1_1_draw.html" title="Class used for rendering graphics. ">Draw</a> the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a>. <a href="#ad048146d1f6ee5323c5d39eecb7f76d7">More...</a><br/></td></tr>
<tr class="separator:ad048146d1f6ee5323c5d39eecb7f76d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_otter_1_1_graphic"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_otter_1_1_graphic')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_otter_1_1_graphic.html">Otter.Graphic</a></td></tr>
<tr class="memitem:a19af5b38665a0de5f823ef30d2a01690 inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a19af5b38665a0de5f823ef30d2a01690"></a>
<a class="el" href="class_otter_1_1_transformation.html">Transformation</a>&#160;</td><td class="memItemRight" valign="bottom"><b>AddTransform</b> (<a class="el" href="class_otter_1_1_transformation.html">Transformation</a> transform)</td></tr>
<tr class="separator:a19af5b38665a0de5f823ef30d2a01690 inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a218600d2e9a20afe9d27a3e432b713fd inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a218600d2e9a20afe9d27a3e432b713fd"></a>
<a class="el" href="class_otter_1_1_transformation.html">Transformation</a>&#160;</td><td class="memItemRight" valign="bottom"><b>AddTransform</b> (<a class="el" href="struct_otter_1_1_vector2.html">Vector2</a> translation, <a class="el" href="struct_otter_1_1_vector2.html">Vector2</a> scale, <a class="el" href="struct_otter_1_1_vector2.html">Vector2</a> origin, float rotation)</td></tr>
<tr class="separator:a218600d2e9a20afe9d27a3e432b713fd inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbddf0e42a5805e1f08996b1631bec50 inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adbddf0e42a5805e1f08996b1631bec50"></a>
<a class="el" href="class_otter_1_1_transformation.html">Transformation</a>&#160;</td><td class="memItemRight" valign="bottom"><b>AddTransform</b> ()</td></tr>
<tr class="separator:adbddf0e42a5805e1f08996b1631bec50 inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81dc0b5eeaa0ddcbb85e5034d8f9ee25 inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a81dc0b5eeaa0ddcbb85e5034d8f9ee25"></a>
<a class="el" href="class_otter_1_1_transformation.html">Transformation</a>&#160;</td><td class="memItemRight" valign="bottom"><b>RemoveTransformation</b> (<a class="el" href="class_otter_1_1_transformation.html">Transformation</a> transform)</td></tr>
<tr class="separator:a81dc0b5eeaa0ddcbb85e5034d8f9ee25 inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e233d18fe578df8d8778dc1edf10596 inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0e233d18fe578df8d8778dc1edf10596"></a>
<a class="el" href="class_otter_1_1_transformation.html">Transformation</a>&#160;</td><td class="memItemRight" valign="bottom"><b>PopTransformation</b> ()</td></tr>
<tr class="separator:a0e233d18fe578df8d8778dc1edf10596 inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a566449091c7353e8dea9dae85aeb60f0 inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a566449091c7353e8dea9dae85aeb60f0">ClearShader</a> ()</td></tr>
<tr class="memdesc:a566449091c7353e8dea9dae85aeb60f0 inherit pub_methods_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes the shader from the graphic. <a href="#a566449091c7353e8dea9dae85aeb60f0">More...</a><br/></td></tr>
<tr class="separator:a566449091c7353e8dea9dae85aeb60f0 inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62013484a901990be782e16aef717049 inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a62013484a901990be782e16aef717049">SetPosition</a> (float x, float y)</td></tr>
<tr class="memdesc:a62013484a901990be782e16aef717049 inherit pub_methods_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the position of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#a62013484a901990be782e16aef717049">More...</a><br/></td></tr>
<tr class="separator:a62013484a901990be782e16aef717049 inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1151402908fdd8971e5df7443b8e222e inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a1151402908fdd8971e5df7443b8e222e">SetPosition</a> (<a class="el" href="class_otter_1_1_graphic.html">Graphic</a> g, float offsetX=0, float offsetY=0)</td></tr>
<tr class="memdesc:a1151402908fdd8971e5df7443b8e222e inherit pub_methods_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the position of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#a1151402908fdd8971e5df7443b8e222e">More...</a><br/></td></tr>
<tr class="separator:a1151402908fdd8971e5df7443b8e222e inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5f04a957e20bcdaed51110371ca8c85 inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#ab5f04a957e20bcdaed51110371ca8c85">SetPosition</a> (<a class="el" href="struct_otter_1_1_vector2.html">Vector2</a> xy)</td></tr>
<tr class="memdesc:ab5f04a957e20bcdaed51110371ca8c85 inherit pub_methods_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the position of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#ab5f04a957e20bcdaed51110371ca8c85">More...</a><br/></td></tr>
<tr class="separator:ab5f04a957e20bcdaed51110371ca8c85 inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcb4d86ecf9735426e59740df3a48308 inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#adcb4d86ecf9735426e59740df3a48308">SetOrigin</a> (float x, float y)</td></tr>
<tr class="memdesc:adcb4d86ecf9735426e59740df3a48308 inherit pub_methods_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the origin of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#adcb4d86ecf9735426e59740df3a48308">More...</a><br/></td></tr>
<tr class="separator:adcb4d86ecf9735426e59740df3a48308 inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7d3259291a4e54b8940717122dc39f0 inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#af7d3259291a4e54b8940717122dc39f0">SetOrigin</a> (<a class="el" href="struct_otter_1_1_vector2.html">Vector2</a> xy)</td></tr>
<tr class="memdesc:af7d3259291a4e54b8940717122dc39f0 inherit pub_methods_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the origin of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#af7d3259291a4e54b8940717122dc39f0">More...</a><br/></td></tr>
<tr class="separator:af7d3259291a4e54b8940717122dc39f0 inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeda2b7a576877a1814111599099ef333 inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#aeda2b7a576877a1814111599099ef333">SetTexture</a> (string path)</td></tr>
<tr class="memdesc:aeda2b7a576877a1814111599099ef333 inherit pub_methods_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a> that the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a> is using (if it is using one.) <a href="#aeda2b7a576877a1814111599099ef333">More...</a><br/></td></tr>
<tr class="separator:aeda2b7a576877a1814111599099ef333 inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af643b03002a92ca84d9c2889e398d31d inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#af643b03002a92ca84d9c2889e398d31d">SetTexture</a> (<a class="el" href="class_otter_1_1_texture.html">Texture</a> texture)</td></tr>
<tr class="memdesc:af643b03002a92ca84d9c2889e398d31d inherit pub_methods_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a> that the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a> is using (if it is using one.) <a href="#af643b03002a92ca84d9c2889e398d31d">More...</a><br/></td></tr>
<tr class="separator:af643b03002a92ca84d9c2889e398d31d inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef6dbc4707a667519509a987df405eed inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#aef6dbc4707a667519509a987df405eed">SetTexture</a> (<a class="el" href="class_otter_1_1_atlas_texture.html">AtlasTexture</a> atlasTexture)</td></tr>
<tr class="memdesc:aef6dbc4707a667519509a987df405eed inherit pub_methods_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a> that the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a> is using (if it is using one.) <a href="#aef6dbc4707a667519509a987df405eed">More...</a><br/></td></tr>
<tr class="separator:aef6dbc4707a667519509a987df405eed inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6bd584f60a829d0b4e85bb87468bdbdc inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a6bd584f60a829d0b4e85bb87468bdbdc">Update</a> ()</td></tr>
<tr class="memdesc:a6bd584f60a829d0b4e85bb87468bdbdc inherit pub_methods_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the graphic. <a href="#a6bd584f60a829d0b4e85bb87468bdbdc">More...</a><br/></td></tr>
<tr class="separator:a6bd584f60a829d0b4e85bb87468bdbdc inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b0f76f35bb137064a42978563cfd204 inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a7b0f76f35bb137064a42978563cfd204">CenterOrigin</a> ()</td></tr>
<tr class="memdesc:a7b0f76f35bb137064a42978563cfd204 inherit pub_methods_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">Centers the graphic origin. <a href="#a7b0f76f35bb137064a42978563cfd204">More...</a><br/></td></tr>
<tr class="separator:a7b0f76f35bb137064a42978563cfd204 inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82434a556614d98a0e440aab876dc08d inherit pub_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a82434a556614d98a0e440aab876dc08d">CenterOriginZero</a> ()</td></tr>
<tr class="memdesc:a82434a556614d98a0e440aab876dc08d inherit pub_methods_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">Centers the graphic origin while retaining its relative position. <a href="#a82434a556614d98a0e440aab876dc08d">More...</a><br/></td></tr>
<tr class="separator:a82434a556614d98a0e440aab876dc08d inherit pub_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:a36c09eccb9b1015841363c1ec1eb6c42"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_nine_slice.html#a36c09eccb9b1015841363c1ec1eb6c42">SetFillRect</a> (string key, int x1, int y1, int x2, int y2)</td></tr>
<tr class="memdesc:a36c09eccb9b1015841363c1ec1eb6c42"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register a fill rectangle for a specific asset. Useful for not having to set the same fill rect every time you use a <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> for a specific image. <a href="#a36c09eccb9b1015841363c1ec1eb6c42">More...</a><br/></td></tr>
<tr class="separator:a36c09eccb9b1015841363c1ec1eb6c42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a931267f488c81bf4f99a28b2aa8383a3"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_nine_slice.html#a931267f488c81bf4f99a28b2aa8383a3">SetFillRect</a> (string[] keys, int x1, int y1, int x2, int y2)</td></tr>
<tr class="memdesc:a931267f488c81bf4f99a28b2aa8383a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the FillRect for a <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> globally. <a href="#a931267f488c81bf4f99a28b2aa8383a3">More...</a><br/></td></tr>
<tr class="separator:a931267f488c81bf4f99a28b2aa8383a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a018c166a080427862965bfe91ed32a62"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_nine_slice.html#a018c166a080427862965bfe91ed32a62">SetBorderPadding</a> (string key, int top, int right, int bottom, int left)</td></tr>
<tr class="memdesc:a018c166a080427862965bfe91ed32a62"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the FillRect of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> using padding values. <a href="#a018c166a080427862965bfe91ed32a62">More...</a><br/></td></tr>
<tr class="separator:a018c166a080427862965bfe91ed32a62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b74513a02550095edc9114833c31ac0"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_nine_slice.html#a0b74513a02550095edc9114833c31ac0">SetBorderPadding</a> (string key, int padding)</td></tr>
<tr class="memdesc:a0b74513a02550095edc9114833c31ac0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the FillRect of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> using padding values. <a href="#a0b74513a02550095edc9114833c31ac0">More...</a><br/></td></tr>
<tr class="separator:a0b74513a02550095edc9114833c31ac0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a138d7a4992936bec6d4393e84cad2d5e"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_nine_slice.html#a138d7a4992936bec6d4393e84cad2d5e">SetBorderPadding</a> (string key, int horizontal, int vertical)</td></tr>
<tr class="memdesc:a138d7a4992936bec6d4393e84cad2d5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the FillRect of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> using padding values. <a href="#a138d7a4992936bec6d4393e84cad2d5e">More...</a><br/></td></tr>
<tr class="separator:a138d7a4992936bec6d4393e84cad2d5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a17aae9da3093e58bdc615e99062ceda3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_nine_slice.html#a17aae9da3093e58bdc615e99062ceda3">UseInsideOrigin</a></td></tr>
<tr class="memdesc:a17aae9da3093e58bdc615e99062ceda3"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_otter_1_1_draw.html" title="Class used for rendering graphics. ">Draw</a> the panel from the top left corner of the middle slice. <a href="#a17aae9da3093e58bdc615e99062ceda3">More...</a><br/></td></tr>
<tr class="separator:a17aae9da3093e58bdc615e99062ceda3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a365d87a254a732a6ea54278565d24eca"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_nine_slice.html#a365d87a254a732a6ea54278565d24eca">SnapWidth</a></td></tr>
<tr class="memdesc:a365d87a254a732a6ea54278565d24eca"><td class="mdescLeft">&#160;</td><td class="mdescRight">When using PanelType.Tiled snap the width to increments of the tile width. <a href="#a365d87a254a732a6ea54278565d24eca">More...</a><br/></td></tr>
<tr class="separator:a365d87a254a732a6ea54278565d24eca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3693413eb6fad9b6ac0387e020acc193"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_nine_slice.html#a3693413eb6fad9b6ac0387e020acc193">SnapHeight</a></td></tr>
<tr class="memdesc:a3693413eb6fad9b6ac0387e020acc193"><td class="mdescLeft">&#160;</td><td class="mdescRight">When using PanelType.Tiled snap the height to increments of the tile height. <a href="#a3693413eb6fad9b6ac0387e020acc193">More...</a><br/></td></tr>
<tr class="separator:a3693413eb6fad9b6ac0387e020acc193"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae19d8e9539e2c77bfdc11eda0f497e16"><td class="memItemLeft" align="right" valign="top">PanelSizeMode&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_nine_slice.html#ae19d8e9539e2c77bfdc11eda0f497e16">PanelSizeMode</a> = PanelSizeMode.All</td></tr>
<tr class="memdesc:ae19d8e9539e2c77bfdc11eda0f497e16"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines how the size of the panel will be adjusted when setting PanelWidth and PanelHeight. If set to All, the entire panel will be the width and height. If set to Inside, the inside of the panel will be the width and height. <a href="#ae19d8e9539e2c77bfdc11eda0f497e16">More...</a><br/></td></tr>
<tr class="separator:ae19d8e9539e2c77bfdc11eda0f497e16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_class_otter_1_1_graphic"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_otter_1_1_graphic')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="class_otter_1_1_graphic.html">Otter.Graphic</a></td></tr>
<tr class="memitem:af23d42792ac18cca618787cfaf4ab0d2 inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af23d42792ac18cca618787cfaf4ab0d2"></a>
List&lt; <a class="el" href="class_otter_1_1_transformation.html">Transformation</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Transforms</b> = new List&lt;<a class="el" href="class_otter_1_1_transformation.html">Transformation</a>&gt;() { new <a class="el" href="class_otter_1_1_transformation.html">Transformation</a>() }</td></tr>
<tr class="separator:af23d42792ac18cca618787cfaf4ab0d2 inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe0a50137a980c22d03ae172b2ad6a79 inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#afe0a50137a980c22d03ae172b2ad6a79">Relative</a> = true</td></tr>
<tr class="memdesc:afe0a50137a980c22d03ae172b2ad6a79 inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a> is rendered relative to its <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="#afe0a50137a980c22d03ae172b2ad6a79">More...</a><br/></td></tr>
<tr class="separator:afe0a50137a980c22d03ae172b2ad6a79 inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35e50e9305e42625246e0ecc4dda5c11 inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a35e50e9305e42625246e0ecc4dda5c11">Visible</a> = true</td></tr>
<tr class="memdesc:a35e50e9305e42625246e0ecc4dda5c11 inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a> will render. <a href="#a35e50e9305e42625246e0ecc4dda5c11">More...</a><br/></td></tr>
<tr class="separator:a35e50e9305e42625246e0ecc4dda5c11 inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af191405ef8b1d887c227aad5a5c0a3df inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#af191405ef8b1d887c227aad5a5c0a3df">ScrollX</a> = 1</td></tr>
<tr class="memdesc:af191405ef8b1d887c227aad5a5c0a3df inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The scroll factor for the x position. Used for parallax like effects. Values lower than 1 will scroll slower than the camera (appear to be further away) and values higher than 1 will scroll faster than the camera (appear to be closer.) <a href="#af191405ef8b1d887c227aad5a5c0a3df">More...</a><br/></td></tr>
<tr class="separator:af191405ef8b1d887c227aad5a5c0a3df inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e0a8d638e5b7e035e5ef8961a8da186 inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a6e0a8d638e5b7e035e5ef8961a8da186">ScrollY</a> = 1</td></tr>
<tr class="memdesc:a6e0a8d638e5b7e035e5ef8961a8da186 inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The scroll factor for the y position. Used for parallax like effects. Values lower than 1 will scroll slower than the camera (appear to be further away) and values higher than 1 will scroll faster than the camera (appear to be closer.) <a href="#a6e0a8d638e5b7e035e5ef8961a8da186">More...</a><br/></td></tr>
<tr class="separator:a6e0a8d638e5b7e035e5ef8961a8da186 inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53eaaf8b69de60373dc305e90d2a2e2a inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a53eaaf8b69de60373dc305e90d2a2e2a">ShakeX</a></td></tr>
<tr class="memdesc:a53eaaf8b69de60373dc305e90d2a2e2a inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The horizontal amount to randomly offset the graphic by each frame. <a href="#a53eaaf8b69de60373dc305e90d2a2e2a">More...</a><br/></td></tr>
<tr class="separator:a53eaaf8b69de60373dc305e90d2a2e2a inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a511f85b72bb8e840aa260a0c6ac83b7e inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a511f85b72bb8e840aa260a0c6ac83b7e">ShakeY</a></td></tr>
<tr class="memdesc:a511f85b72bb8e840aa260a0c6ac83b7e inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The vertial amount to randomly offset the graphic by each frame. <a href="#a511f85b72bb8e840aa260a0c6ac83b7e">More...</a><br/></td></tr>
<tr class="separator:a511f85b72bb8e840aa260a0c6ac83b7e inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0271204b4d99960f0078444bc45a746 inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_otter_1_1_rectangle.html">Rectangle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#aa0271204b4d99960f0078444bc45a746">TextureRegion</a></td></tr>
<tr class="memdesc:aa0271204b4d99960f0078444bc45a746 inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The region to render the <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a> with. <a href="#aa0271204b4d99960f0078444bc45a746">More...</a><br/></td></tr>
<tr class="separator:aa0271204b4d99960f0078444bc45a746 inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf9d58f243c052ae75253fa278e62983 inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_otter_1_1_rectangle.html">Rectangle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#abf9d58f243c052ae75253fa278e62983">AtlasRegion</a></td></tr>
<tr class="memdesc:abf9d58f243c052ae75253fa278e62983 inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <a class="el" href="struct_otter_1_1_rectangle.html" title="Struct for representing a Rectangle. ">Rectangle</a> to render an <a class="el" href="class_otter_1_1_atlas_texture.html" title="Class used for representing a texture on a texture atlas. ">AtlasTexture</a> with. <a href="#abf9d58f243c052ae75253fa278e62983">More...</a><br/></td></tr>
<tr class="separator:abf9d58f243c052ae75253fa278e62983 inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd77c883750ac1c59976e975d71f5c86 inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_otter_1_1_shader.html">Shader</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#acd77c883750ac1c59976e975d71f5c86">Shader</a></td></tr>
<tr class="memdesc:acd77c883750ac1c59976e975d71f5c86 inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The shader to be applied to this graphic. <a href="#acd77c883750ac1c59976e975d71f5c86">More...</a><br/></td></tr>
<tr class="separator:acd77c883750ac1c59976e975d71f5c86 inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf9058bd8f0b72b05b52ac0bc6bd3db5 inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#adf9058bd8f0b72b05b52ac0bc6bd3db5">Name</a> = &quot;Graphic&quot;</td></tr>
<tr class="memdesc:adf9058bd8f0b72b05b52ac0bc6bd3db5 inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The name of the graphic. <a href="#adf9058bd8f0b72b05b52ac0bc6bd3db5">More...</a><br/></td></tr>
<tr class="separator:adf9058bd8f0b72b05b52ac0bc6bd3db5 inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace9913f6d7338184b1a2521ff5b39710 inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_otter.html#aecf7d2681beb4e3fd83a217c3c688a67">BlendMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#ace9913f6d7338184b1a2521ff5b39710">Blend</a> = BlendMode.Alpha</td></tr>
<tr class="memdesc:ace9913f6d7338184b1a2521ff5b39710 inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The blend mode to be applied to this graphic. <a href="#ace9913f6d7338184b1a2521ff5b39710">More...</a><br/></td></tr>
<tr class="separator:ace9913f6d7338184b1a2521ff5b39710 inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d348dd0920041c1ebb961b2dbc3ad38 inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a5d348dd0920041c1ebb961b2dbc3ad38">RepeatX</a></td></tr>
<tr class="memdesc:a5d348dd0920041c1ebb961b2dbc3ad38 inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if the image should be rendered multiple times horizontally. <a href="#a5d348dd0920041c1ebb961b2dbc3ad38">More...</a><br/></td></tr>
<tr class="separator:a5d348dd0920041c1ebb961b2dbc3ad38 inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa48b5e78bb0a3d7b830b6ccd16ba546d inherit pub_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#aa48b5e78bb0a3d7b830b6ccd16ba546d">RepeatY</a></td></tr>
<tr class="memdesc:aa48b5e78bb0a3d7b830b6ccd16ba546d inherit pub_attribs_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if the image should be rendered multiple times vertically. <a href="#aa48b5e78bb0a3d7b830b6ccd16ba546d">More...</a><br/></td></tr>
<tr class="separator:aa48b5e78bb0a3d7b830b6ccd16ba546d inherit pub_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:af660426876f5217bf0cab6bf6ccb26c9"><td class="memItemLeft" align="right" valign="top">override void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_nine_slice.html#af660426876f5217bf0cab6bf6ccb26c9">UpdateDrawable</a> ()</td></tr>
<tr class="memdesc:af660426876f5217bf0cab6bf6ccb26c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates the internal SFML data for rendering. <a href="#af660426876f5217bf0cab6bf6ccb26c9">More...</a><br/></td></tr>
<tr class="separator:af660426876f5217bf0cab6bf6ccb26c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_otter_1_1_graphic"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_otter_1_1_graphic')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_otter_1_1_graphic.html">Otter.Graphic</a></td></tr>
<tr class="memitem:a34c475fdfe8a0816f822597149ae90de inherit pro_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a34c475fdfe8a0816f822597149ae90de"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>Append</b> (float x, float y, <a class="el" href="class_otter_1_1_color.html">Color</a> color, float u, float v)</td></tr>
<tr class="separator:a34c475fdfe8a0816f822597149ae90de inherit pro_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a495d01f666ee9904f461d18dfbb55202 inherit pro_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a495d01f666ee9904f461d18dfbb55202"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>Append</b> (float x, float y, <a class="el" href="class_otter_1_1_color.html">Color</a> color=null)</td></tr>
<tr class="separator:a495d01f666ee9904f461d18dfbb55202 inherit pro_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ceb4af3f2d2e1fb3b9737b729e8f132 inherit pro_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5ceb4af3f2d2e1fb3b9737b729e8f132"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>TextureChanged</b> ()</td></tr>
<tr class="separator:a5ceb4af3f2d2e1fb3b9737b729e8f132 inherit pro_methods_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac560213b23650625ec6c18b5298cb9f5 inherit pro_methods_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac560213b23650625ec6c18b5298cb9f5"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>SFMLRender</b> (Drawable drawable, float x=0, float y=0)</td></tr>
<tr class="separator:ac560213b23650625ec6c18b5298cb9f5 inherit pro_methods_class_otter_1_1_graphic"><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:a4bbb1c849695b24daa0b9ebfdf7a8d5d"><td class="memItemLeft" align="right" valign="top">PanelType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_nine_slice.html#a4bbb1c849695b24daa0b9ebfdf7a8d5d">PanelType</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a4bbb1c849695b24daa0b9ebfdf7a8d5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">The type of panel to use for the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a>. <a href="#a4bbb1c849695b24daa0b9ebfdf7a8d5d">More...</a><br/></td></tr>
<tr class="separator:a4bbb1c849695b24daa0b9ebfdf7a8d5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c62588a45f4d2a8ad398aee2a6ca1e3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_otter_1_1_rectangle.html">Rectangle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_nine_slice.html#a5c62588a45f4d2a8ad398aee2a6ca1e3">ClippingRegion</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a5c62588a45f4d2a8ad398aee2a6ca1e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Render the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> through a clipping rectangle. <a href="#a5c62588a45f4d2a8ad398aee2a6ca1e3">More...</a><br/></td></tr>
<tr class="separator:a5c62588a45f4d2a8ad398aee2a6ca1e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69fce923eb22d7660ac72f629909b222"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_nine_slice.html#a69fce923eb22d7660ac72f629909b222">UsePanelClip</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a69fce923eb22d7660ac72f629909b222"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if the ClippingRegion is used or not. <a href="#a69fce923eb22d7660ac72f629909b222">More...</a><br/></td></tr>
<tr class="separator:a69fce923eb22d7660ac72f629909b222"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a216da35dd860b5f4f6e31a452f2d2299"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_nine_slice.html#a216da35dd860b5f4f6e31a452f2d2299">PanelWidth</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a216da35dd860b5f4f6e31a452f2d2299"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the panel width of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a>. This will update and rerender it. <a href="#a216da35dd860b5f4f6e31a452f2d2299">More...</a><br/></td></tr>
<tr class="separator:a216da35dd860b5f4f6e31a452f2d2299"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b23a12c14cef7b8ecc888bcd2b4b530"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_nine_slice.html#a5b23a12c14cef7b8ecc888bcd2b4b530">PanelHeight</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a5b23a12c14cef7b8ecc888bcd2b4b530"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the panel height of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a>. This will update and rerender it. <a href="#a5b23a12c14cef7b8ecc888bcd2b4b530">More...</a><br/></td></tr>
<tr class="separator:a5b23a12c14cef7b8ecc888bcd2b4b530"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header properties_class_otter_1_1_graphic"><td colspan="2" onclick="javascript:toggleInherit('properties_class_otter_1_1_graphic')"><img src="closed.png" alt="-"/>&#160;Properties inherited from <a class="el" href="class_otter_1_1_graphic.html">Otter.Graphic</a></td></tr>
<tr class="memitem:a1639c0e75eabaf8afe04fca0fcbfbc67 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1639c0e75eabaf8afe04fca0fcbfbc67"></a>
<a class="el" href="class_otter_1_1_transformation.html">Transformation</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Transform</b><code> [get]</code></td></tr>
<tr class="separator:a1639c0e75eabaf8afe04fca0fcbfbc67 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1c77d3b0bc99c13b80f87a65c52dc0c inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#ac1c77d3b0bc99c13b80f87a65c52dc0c">X</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ac1c77d3b0bc99c13b80f87a65c52dc0c inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The X position of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#ac1c77d3b0bc99c13b80f87a65c52dc0c">More...</a><br/></td></tr>
<tr class="separator:ac1c77d3b0bc99c13b80f87a65c52dc0c inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1be9d65814bcf62775eeaf974bc121b1 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a1be9d65814bcf62775eeaf974bc121b1">Y</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a1be9d65814bcf62775eeaf974bc121b1 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The Y position of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#a1be9d65814bcf62775eeaf974bc121b1">More...</a><br/></td></tr>
<tr class="separator:a1be9d65814bcf62775eeaf974bc121b1 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb0b60ee988b2563a1167c794d8126b8 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#afb0b60ee988b2563a1167c794d8126b8">ScaleX</a><code> [get, set]</code></td></tr>
<tr class="memdesc:afb0b60ee988b2563a1167c794d8126b8 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The horizontal scale of the graphic. Used in the final transformation. <a href="#afb0b60ee988b2563a1167c794d8126b8">More...</a><br/></td></tr>
<tr class="separator:afb0b60ee988b2563a1167c794d8126b8 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5005cf9fc3bc9c17acd7cd126f60b5f6 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a5005cf9fc3bc9c17acd7cd126f60b5f6">ScaleY</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a5005cf9fc3bc9c17acd7cd126f60b5f6 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The vertical scale of the graphic. Used in the final transformation. <a href="#a5005cf9fc3bc9c17acd7cd126f60b5f6">More...</a><br/></td></tr>
<tr class="separator:a5005cf9fc3bc9c17acd7cd126f60b5f6 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6200731f9063eca5432a907f46a3c14a inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a6200731f9063eca5432a907f46a3c14a">Angle</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a6200731f9063eca5432a907f46a3c14a inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The angle of rotation of the graphic. Used in the final transformation. <a href="#a6200731f9063eca5432a907f46a3c14a">More...</a><br/></td></tr>
<tr class="separator:a6200731f9063eca5432a907f46a3c14a inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a363ac12b77a084e0c2225329824ceb60 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a363ac12b77a084e0c2225329824ceb60">OriginX</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a363ac12b77a084e0c2225329824ceb60 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The X origin point to scale and rotate the graphic with. Used in the final transformation. <a href="#a363ac12b77a084e0c2225329824ceb60">More...</a><br/></td></tr>
<tr class="separator:a363ac12b77a084e0c2225329824ceb60 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a026aa41cbf7c3feea6e52f3aa6136a9b inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a026aa41cbf7c3feea6e52f3aa6136a9b">OriginY</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a026aa41cbf7c3feea6e52f3aa6136a9b inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The Y origin point to scale and rotate the graphic with. Used in the final transformation. <a href="#a026aa41cbf7c3feea6e52f3aa6136a9b">More...</a><br/></td></tr>
<tr class="separator:a026aa41cbf7c3feea6e52f3aa6136a9b inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94350f6c5ec5b927b8384d1b4e47b12b inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_otter_1_1_color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a94350f6c5ec5b927b8384d1b4e47b12b">Color</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a94350f6c5ec5b927b8384d1b4e47b12b inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The base color of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. Multiplies the vertices of the graphic by this color. <a href="#a94350f6c5ec5b927b8384d1b4e47b12b">More...</a><br/></td></tr>
<tr class="separator:a94350f6c5ec5b927b8384d1b4e47b12b inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af370f00f361c247ae65416da9e0aa720 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_otter_1_1_texture.html">Texture</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#af370f00f361c247ae65416da9e0aa720">Texture</a><code> [get, set]</code></td></tr>
<tr class="memdesc:af370f00f361c247ae65416da9e0aa720 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The texture that the graphic is using. <a href="#af370f00f361c247ae65416da9e0aa720">More...</a><br/></td></tr>
<tr class="separator:af370f00f361c247ae65416da9e0aa720 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36f83faa4c5af684b464d30f47054349 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a36f83faa4c5af684b464d30f47054349">Alpha</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a36f83faa4c5af684b464d30f47054349 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The base transparency of the graphic. A shortcut to access the base color's Alpha. <a href="#a36f83faa4c5af684b464d30f47054349">More...</a><br/></td></tr>
<tr class="separator:a36f83faa4c5af684b464d30f47054349 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8ac28460606b2f36bfad89615e30579 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#ab8ac28460606b2f36bfad89615e30579">Width</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ab8ac28460606b2f36bfad89615e30579 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The width of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#ab8ac28460606b2f36bfad89615e30579">More...</a><br/></td></tr>
<tr class="separator:ab8ac28460606b2f36bfad89615e30579 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae711ca62ff98ca431cf914aea4577998 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#ae711ca62ff98ca431cf914aea4577998">Height</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ae711ca62ff98ca431cf914aea4577998 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The height of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#ae711ca62ff98ca431cf914aea4577998">More...</a><br/></td></tr>
<tr class="separator:ae711ca62ff98ca431cf914aea4577998 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f35ac02a557dcc30a28b8c24afaf00a inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a8f35ac02a557dcc30a28b8c24afaf00a">ScaledWidth</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a8f35ac02a557dcc30a28b8c24afaf00a inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The width in pixels of the image after applying the X scale. <a href="#a8f35ac02a557dcc30a28b8c24afaf00a">More...</a><br/></td></tr>
<tr class="separator:a8f35ac02a557dcc30a28b8c24afaf00a inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeae3bb321bf1d7ad9b2b611c2fa1b263 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#aeae3bb321bf1d7ad9b2b611c2fa1b263">ScaledHeight</a><code> [get, set]</code></td></tr>
<tr class="memdesc:aeae3bb321bf1d7ad9b2b611c2fa1b263 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The height in pixels of the image after applying the Y scale. <a href="#aeae3bb321bf1d7ad9b2b611c2fa1b263">More...</a><br/></td></tr>
<tr class="separator:aeae3bb321bf1d7ad9b2b611c2fa1b263 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4b11fb0e8dca8683d18357a9fcc5da6 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#aa4b11fb0e8dca8683d18357a9fcc5da6">Smooth</a><code> [get, set]</code></td></tr>
<tr class="memdesc:aa4b11fb0e8dca8683d18357a9fcc5da6 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">Smooth the texture of a sprite image while scaling it. <a href="#aa4b11fb0e8dca8683d18357a9fcc5da6">More...</a><br/></td></tr>
<tr class="separator:aa4b11fb0e8dca8683d18357a9fcc5da6 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d761435ffaceb7f775451c96b834303 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a2d761435ffaceb7f775451c96b834303">Scroll</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a2d761435ffaceb7f775451c96b834303 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set both ScrollX and ScrollY. <a href="#a2d761435ffaceb7f775451c96b834303">More...</a><br/></td></tr>
<tr class="separator:a2d761435ffaceb7f775451c96b834303 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62320291b983b6d14cc6ff7a88674473 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a62320291b983b6d14cc6ff7a88674473">HalfWidth</a><code> [get]</code></td></tr>
<tr class="memdesc:a62320291b983b6d14cc6ff7a88674473 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">Half of the width. <a href="#a62320291b983b6d14cc6ff7a88674473">More...</a><br/></td></tr>
<tr class="separator:a62320291b983b6d14cc6ff7a88674473 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a770ffe9d12a64d2039fd8e7e3325281b inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a770ffe9d12a64d2039fd8e7e3325281b">HalfHeight</a><code> [get]</code></td></tr>
<tr class="memdesc:a770ffe9d12a64d2039fd8e7e3325281b inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">Half of the height. <a href="#a770ffe9d12a64d2039fd8e7e3325281b">More...</a><br/></td></tr>
<tr class="separator:a770ffe9d12a64d2039fd8e7e3325281b inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7198d345961a7b5ebf66576179a75905 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a7198d345961a7b5ebf66576179a75905">Scale</a><code> [set]</code></td></tr>
<tr class="memdesc:a7198d345961a7b5ebf66576179a75905 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets both the ScaleX and ScaleY at the same time. <a href="#a7198d345961a7b5ebf66576179a75905">More...</a><br/></td></tr>
<tr class="separator:a7198d345961a7b5ebf66576179a75905 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a110b985411b157e7c90244b188c27cd1 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a110b985411b157e7c90244b188c27cd1">Repeat</a><code> [set]</code></td></tr>
<tr class="memdesc:a110b985411b157e7c90244b188c27cd1 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets both RepeatX and RepeatY at the same time. <a href="#a110b985411b157e7c90244b188c27cd1">More...</a><br/></td></tr>
<tr class="separator:a110b985411b157e7c90244b188c27cd1 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e3ba760503ca2ff4e337dd014de8f6f inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a3e3ba760503ca2ff4e337dd014de8f6f">Shake</a><code> [set]</code></td></tr>
<tr class="memdesc:a3e3ba760503ca2ff4e337dd014de8f6f inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">A shortcut to set both ShakeX and ShakeY. <a href="#a3e3ba760503ca2ff4e337dd014de8f6f">More...</a><br/></td></tr>
<tr class="separator:a3e3ba760503ca2ff4e337dd014de8f6f inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b2656995577a2e6986360f6a643e6c6 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a9b2656995577a2e6986360f6a643e6c6">Left</a><code> [get]</code></td></tr>
<tr class="memdesc:a9b2656995577a2e6986360f6a643e6c6 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The X position of the left side of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#a9b2656995577a2e6986360f6a643e6c6">More...</a><br/></td></tr>
<tr class="separator:a9b2656995577a2e6986360f6a643e6c6 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac46d20b9d5c8c78cc44107ead9dcb0a7 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#ac46d20b9d5c8c78cc44107ead9dcb0a7">Top</a><code> [get]</code></td></tr>
<tr class="memdesc:ac46d20b9d5c8c78cc44107ead9dcb0a7 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The Y position of the top of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#ac46d20b9d5c8c78cc44107ead9dcb0a7">More...</a><br/></td></tr>
<tr class="separator:ac46d20b9d5c8c78cc44107ead9dcb0a7 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a132614335bab08fad41cd3c40e474d41 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a132614335bab08fad41cd3c40e474d41">Right</a><code> [get]</code></td></tr>
<tr class="memdesc:a132614335bab08fad41cd3c40e474d41 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The X position of the right side of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#a132614335bab08fad41cd3c40e474d41">More...</a><br/></td></tr>
<tr class="separator:a132614335bab08fad41cd3c40e474d41 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ace8225e3197aa49641d1c190275af9 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a4ace8225e3197aa49641d1c190275af9">Bottom</a><code> [get]</code></td></tr>
<tr class="memdesc:a4ace8225e3197aa49641d1c190275af9 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The Y position of the bottom of the <a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a>. <a href="#a4ace8225e3197aa49641d1c190275af9">More...</a><br/></td></tr>
<tr class="separator:a4ace8225e3197aa49641d1c190275af9 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6582df0024a9793cbeddb00d7f064d08 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a6582df0024a9793cbeddb00d7f064d08">TextureLeft</a><code> [get]</code></td></tr>
<tr class="memdesc:a6582df0024a9793cbeddb00d7f064d08 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The X position of the left of the <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a>. <a href="#a6582df0024a9793cbeddb00d7f064d08">More...</a><br/></td></tr>
<tr class="separator:a6582df0024a9793cbeddb00d7f064d08 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02ca4c8ea182416c91eee4f7099e555b inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a02ca4c8ea182416c91eee4f7099e555b">TextureRight</a><code> [get]</code></td></tr>
<tr class="memdesc:a02ca4c8ea182416c91eee4f7099e555b inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The X position of the right of the <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a>. <a href="#a02ca4c8ea182416c91eee4f7099e555b">More...</a><br/></td></tr>
<tr class="separator:a02ca4c8ea182416c91eee4f7099e555b inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb78c1bf05bf8ffb96b12f74b0bc2fdc inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#afb78c1bf05bf8ffb96b12f74b0bc2fdc">TextureTop</a><code> [get]</code></td></tr>
<tr class="memdesc:afb78c1bf05bf8ffb96b12f74b0bc2fdc inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The Y position of the top of the <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a>. <a href="#afb78c1bf05bf8ffb96b12f74b0bc2fdc">More...</a><br/></td></tr>
<tr class="separator:afb78c1bf05bf8ffb96b12f74b0bc2fdc inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a458673e847eb73ef7427aa99d24b4930 inherit properties_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a458673e847eb73ef7427aa99d24b4930">TextureBottom</a><code> [get]</code></td></tr>
<tr class="memdesc:a458673e847eb73ef7427aa99d24b4930 inherit properties_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">The Y position of the bottom of the <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a>. <a href="#a458673e847eb73ef7427aa99d24b4930">More...</a><br/></td></tr>
<tr class="separator:a458673e847eb73ef7427aa99d24b4930 inherit properties_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_attribs_class_otter_1_1_graphic"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_otter_1_1_graphic')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_otter_1_1_graphic.html">Otter.Graphic</a></td></tr>
<tr class="memitem:a72538737f073d4303a100f79c70addf6 inherit pro_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a72538737f073d4303a100f79c70addf6"></a>
VertexArray&#160;</td><td class="memItemRight" valign="bottom"><b>SFMLVertices</b> = new VertexArray(PrimitiveType.Quads)</td></tr>
<tr class="separator:a72538737f073d4303a100f79c70addf6 inherit pro_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae98809f61474e2d2f339c66a7c8d6ecf inherit pro_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae98809f61474e2d2f339c66a7c8d6ecf"></a>
Drawable&#160;</td><td class="memItemRight" valign="bottom"><b>SFMLDrawable</b></td></tr>
<tr class="separator:ae98809f61474e2d2f339c66a7c8d6ecf inherit pro_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a083c0250edd37c5bcc7d396aad83a528 inherit pro_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a083c0250edd37c5bcc7d396aad83a528"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>RepeatSizeX</b></td></tr>
<tr class="separator:a083c0250edd37c5bcc7d396aad83a528 inherit pro_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1178b15ab32c761cd7988392a58d7fd6 inherit pro_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1178b15ab32c761cd7988392a58d7fd6"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>roundRendering</b> = true</td></tr>
<tr class="separator:a1178b15ab32c761cd7988392a58d7fd6 inherit pro_attribs_class_otter_1_1_graphic"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a762a3bac8d651ffcf6736a5acd8cc1f8 inherit pro_attribs_class_otter_1_1_graphic"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_otter_1_1_graphic.html#a762a3bac8d651ffcf6736a5acd8cc1f8">Dynamic</a></td></tr>
<tr class="memdesc:a762a3bac8d651ffcf6736a5acd8cc1f8 inherit pro_attribs_class_otter_1_1_graphic"><td class="mdescLeft">&#160;</td><td class="mdescRight">If true the graphic will always update its drawable. <a href="#a762a3bac8d651ffcf6736a5acd8cc1f8">More...</a><br/></td></tr>
<tr class="separator:a762a3bac8d651ffcf6736a5acd8cc1f8 inherit pro_attribs_class_otter_1_1_graphic"><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><a class="el" href="class_otter_1_1_graphic.html" title="Base abstract class used for anything that can be rendered. ">Graphic</a> type used to render a panel made up of 9 slices of an image. Handy for rendering panels with border graphics. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ac44f303b983490c15be1e842362984d0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Otter.NineSlice.NineSlice </td>
<td>(</td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>source</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>width</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>height</em> = <code>0</code>, </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>fillRect</em> = <code>null</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a new <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> with a file path to a <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">source</td><td>The file path to the <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a>.</td></tr>
<tr><td class="paramname">width</td><td>The width of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> panel.</td></tr>
<tr><td class="paramname">height</td><td>The height of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> panel.</td></tr>
<tr><td class="paramname">fillRect</td><td>The rectangle to determine the stretched areas.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a939fb69e83fcafa44b82fffda4682fc1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Otter.NineSlice.NineSlice </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_otter_1_1_texture.html">Texture</a>&#160;</td>
<td class="paramname"><em>texture</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>height</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>fillRect</em> = <code>null</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a new <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> with a <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">texture</td><td>The <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a> to use.</td></tr>
<tr><td class="paramname">width</td><td>The width of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> panel.</td></tr>
<tr><td class="paramname">height</td><td>The height of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> panel.</td></tr>
<tr><td class="paramname">fillRect</td><td>The rectangle to determine the stretched areas.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a97c28c09e03a80c5d25100f9f9848acc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Otter.NineSlice.NineSlice </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_otter_1_1_atlas_texture.html">AtlasTexture</a>&#160;</td>
<td class="paramname"><em>texture</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>height</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>fillRect</em> = <code>null</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a new <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> with an <a class="el" href="class_otter_1_1_atlas_texture.html" title="Class used for representing a texture on a texture atlas. ">AtlasTexture</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">texture</td><td>The <a class="el" href="class_otter_1_1_atlas_texture.html" title="Class used for representing a texture on a texture atlas. ">AtlasTexture</a> to use.</td></tr>
<tr><td class="paramname">width</td><td>The width of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> panel.</td></tr>
<tr><td class="paramname">height</td><td>The height of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> panel.</td></tr>
<tr><td class="paramname">fillRect</td><td>The rectangle to determine the stretched areas.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a5d53a105efc7c9535432df637d4f4523"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_otter_1_1_rectangle.html">Rectangle</a> Otter.NineSlice.GetFillRect </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the FillRect of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a>. This determines which areas are stretched or tiled when rendering the tiles. </p>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="struct_otter_1_1_rectangle.html" title="Struct for representing a Rectangle. ">Rectangle</a> of the FillRect.</dd></dl>
</div>
</div>
<a class="anchor" id="ad048146d1f6ee5323c5d39eecb7f76d7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">override void Otter.NineSlice.Render </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">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p><a class="el" href="class_otter_1_1_draw.html" title="Class used for rendering graphics. ">Draw</a> the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>The X position offset.</td></tr>
<tr><td class="paramname">y</td><td>The Y position offset.</td></tr>
</table>
</dd>
</dl>
<p>Reimplemented from <a class="el" href="class_otter_1_1_graphic.html#a5e57f7a981500e8d2fe90910a27948f4">Otter.Graphic</a>.</p>
</div>
</div>
<a class="anchor" id="a018c166a080427862965bfe91ed32a62"></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.NineSlice.SetBorderPadding </td>
<td>(</td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>top</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>right</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>bottom</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>left</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>Set the FillRect of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> using padding values. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">top</td><td>How far from the top of the texture to begin the rectangle.</td></tr>
<tr><td class="paramname">right</td><td>How far from the right of the texture to end the rectangle.</td></tr>
<tr><td class="paramname">bottom</td><td>How far from the bottom of the texture to end the rectangle.</td></tr>
<tr><td class="paramname">left</td><td>How far from the left of the texture to begin the rectangle.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> object.</dd></dl>
</div>
</div>
<a class="anchor" id="a0b74513a02550095edc9114833c31ac0"></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.NineSlice.SetBorderPadding </td>
<td>(</td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>padding</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>Set the FillRect of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> using padding values. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">padding</td><td>How far from the border of the texture to make the rectangle.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> object.</dd></dl>
</div>
</div>
<a class="anchor" id="a138d7a4992936bec6d4393e84cad2d5e"></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.NineSlice.SetBorderPadding </td>
<td>(</td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>horizontal</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>vertical</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>Set the FillRect of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> using padding values. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">horizontal</td><td>How far horizontally from the border of the texture to make the rectangle.</td></tr>
<tr><td class="paramname">vertical</td><td>How far horizontally from the border of the texture to make the rectangle.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> object.</dd></dl>
</div>
</div>
<a class="anchor" id="a621b548d0b90000340ea1a00f8b73450"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_otter_1_1_nine_slice.html">NineSlice</a> Otter.NineSlice.SetBorderPadding </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>top</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>right</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>bottom</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>left</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the FillRect of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> using padding values. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">top</td><td>How far from the top of the texture to begin the rectangle.</td></tr>
<tr><td class="paramname">right</td><td>How far from the right of the texture to end the rectangle.</td></tr>
<tr><td class="paramname">bottom</td><td>How far from the bottom of the texture to end the rectangle.</td></tr>
<tr><td class="paramname">left</td><td>How far from the left of the texture to begin the rectangle.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> object.</dd></dl>
</div>
</div>
<a class="anchor" id="ac429ad99409b62043722845dc12fa7ae"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_otter_1_1_nine_slice.html">NineSlice</a> Otter.NineSlice.SetBorderPadding </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>padding</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the FillRect of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> using padding values. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">padding</td><td>How far from the border of the texture to make the rectangle.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> object.</dd></dl>
</div>
</div>
<a class="anchor" id="aad8914d3798ccb32df9892f8be463d87"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_otter_1_1_nine_slice.html">NineSlice</a> Otter.NineSlice.SetBorderPadding </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>horizontal</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>vertical</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the FillRect of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> using padding values. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">horizontal</td><td>How far horizontally from the border of the texture to make the rectangle.</td></tr>
<tr><td class="paramname">vertical</td><td>How far horizontally from the border of the texture to make the rectangle.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> object.</dd></dl>
</div>
</div>
<a class="anchor" id="a36c09eccb9b1015841363c1ec1eb6c42"></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.NineSlice.SetFillRect </td>
<td>(</td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y2</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>Register a fill rectangle for a specific asset. Useful for not having to set the same fill rect every time you use a <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> for a specific image. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>The asset path.</td></tr>
<tr><td class="paramname">x1</td><td>Fill rect x1.</td></tr>
<tr><td class="paramname">y1</td><td>Fill Rect y1</td></tr>
<tr><td class="paramname">x2</td><td>Fill rect x2.</td></tr>
<tr><td class="paramname">y2</td><td>Fill Rect y2</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a931267f488c81bf4f99a28b2aa8383a3"></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.NineSlice.SetFillRect </td>
<td>(</td>
<td class="paramtype">string[]&#160;</td>
<td class="paramname"><em>keys</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y2</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>Sets the FillRect for a <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> globally. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">keys</td><td>The source <a class="el" href="class_otter_1_1_texture.html" title="Class representing a texture. Can perform pixel operations on the CPU, but those will be pretty slow ...">Texture</a> of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a>. (File path or name on <a class="el" href="class_otter_1_1_atlas.html" title="Class used for loading textures from an Atlas, or a set of Atlases. This class is built to support at...">Atlas</a> both work.)</td></tr>
<tr><td class="paramname">x1</td><td>The left corner of the fill rectangle.</td></tr>
<tr><td class="paramname">y1</td><td>The top corner of the fill rectangle.</td></tr>
<tr><td class="paramname">x2</td><td>The right corner of the fill rectangle.</td></tr>
<tr><td class="paramname">y2</td><td>The bottom corner of the fill rectangle.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a16ac9d0295245bd93069b28ca9ce8405"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_otter_1_1_nine_slice.html">NineSlice</a> Otter.NineSlice.SetFillRect </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y2</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the FillRect of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a>. This determines which areas are stretched or tiled when rendering the tiles. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x1</td><td>The left corner of the rectangle.</td></tr>
<tr><td class="paramname">y1</td><td>The top corner of the rectangle.</td></tr>
<tr><td class="paramname">x2</td><td>The right corner of the rectangle.</td></tr>
<tr><td class="paramname">y2</td><td>The bottom corner of the rectangle.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> object.</dd></dl>
</div>
</div>
<a class="anchor" id="af660426876f5217bf0cab6bf6ccb26c9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">override void Otter.NineSlice.UpdateDrawable </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Updates the internal SFML data for rendering. </p>
<p>Reimplemented from <a class="el" href="class_otter_1_1_graphic.html#a77fb0e7041cec38673f61dc949735783">Otter.Graphic</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="ae19d8e9539e2c77bfdc11eda0f497e16"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PanelSizeMode Otter.NineSlice.PanelSizeMode = PanelSizeMode.All</td>
</tr>
</table>
</div><div class="memdoc">
<p>Determines how the size of the panel will be adjusted when setting PanelWidth and PanelHeight. If set to All, the entire panel will be the width and height. If set to Inside, the inside of the panel will be the width and height. </p>
</div>
</div>
<a class="anchor" id="a3693413eb6fad9b6ac0387e020acc193"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Otter.NineSlice.SnapHeight</td>
</tr>
</table>
</div><div class="memdoc">
<p>When using PanelType.Tiled snap the height to increments of the tile height. </p>
</div>
</div>
<a class="anchor" id="a365d87a254a732a6ea54278565d24eca"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Otter.NineSlice.SnapWidth</td>
</tr>
</table>
</div><div class="memdoc">
<p>When using PanelType.Tiled snap the width to increments of the tile width. </p>
</div>
</div>
<a class="anchor" id="a17aae9da3093e58bdc615e99062ceda3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Otter.NineSlice.UseInsideOrigin</td>
</tr>
</table>
</div><div class="memdoc">
<p><a class="el" href="class_otter_1_1_draw.html" title="Class used for rendering graphics. ">Draw</a> the panel from the top left corner of the middle slice. </p>
</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a class="anchor" id="a5c62588a45f4d2a8ad398aee2a6ca1e3"></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="struct_otter_1_1_rectangle.html">Rectangle</a> Otter.NineSlice.ClippingRegion</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Render the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a> through a clipping rectangle. </p>
</div>
</div>
<a class="anchor" id="a5b23a12c14cef7b8ecc888bcd2b4b530"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int Otter.NineSlice.PanelHeight</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the panel height of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a>. This will update and rerender it. </p>
</div>
</div>
<a class="anchor" id="a4bbb1c849695b24daa0b9ebfdf7a8d5d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">PanelType Otter.NineSlice.PanelType</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>The type of panel to use for the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a>. </p>
</div>
</div>
<a class="anchor" id="a216da35dd860b5f4f6e31a452f2d2299"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int Otter.NineSlice.PanelWidth</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the panel width of the <a class="el" href="class_otter_1_1_nine_slice.html" title="Graphic type used to render a panel made up of 9 slices of an image. Handy for rendering panels with ...">NineSlice</a>. This will update and rerender it. </p>
</div>
</div>
<a class="anchor" id="a69fce923eb22d7660ac72f629909b222"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool Otter.NineSlice.UsePanelClip</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Determines if the ClippingRegion is used or not. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>Otter/Graphics/Drawables/NineSlice.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_nine_slice.html">NineSlice</a></li>
<li class="footer">Generated on Thu May 12 2016 18:16:52 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>