Location: PHPKode > projects > MyOWNSpace > MyOWNspace_v8.2/www/classes/flash_mp3_player/source/doc/com_jeroenwijering_utils_Draw.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Draw</title>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
    <link rel="stylesheet" type="text/css" href="css/VisDoc.css"/>
    <script src="js/doc.js" type="text/javascript">//</script>
  </head>
  <body pageId="Pagecom_jeroenwijering_utils_Draw">
    <div class="VisDoc"><span id="PageTop"><!----></span>
      <div class="content"><span class="accessKeysInfo"><span class="label"><a href="#" class="accessKeyInfoToggle" onclick="toggleAccessKeyInfo(); return true;">Access keys</a></span><span class="accessKeyLinks" style="display:none;"><a href="#PageTop" accesskey="t">T</a>op, <a href="#Summary" accesskey="s">S</a>ummary, 
Cl<a href="#Classmethods" accesskey="a">a</a>ss methods</span></span><h1>Draw</h1>
        <div class="classProperties">
          <table cellspacing="0">
            <tr>
              <th>Kind of class:</th>
              <td>class</td>
            </tr>
            <tr>
              <th>Inherits from:</th>
              <td>none</td>
            </tr>
            <tr>
              <th class="classDetails">Version:</th>
              <td class="classDetails">1.00</td>
            </tr>
            <tr>
              <th class="classDetails">Author:</th>
              <td class="classDetails">Jeroen Wijering</td>
            </tr>
            <tr>
              <th class="classDetails">Classpath:</th>
              <td class="classDetails">com.jeroenwijering.utils.Draw</td>
            </tr>
            <tr>
              <th class="classDetails">File last modified:</th>
              <td class="classDetails">Thursday, 02 November 2006, 17:30:06</td>
            </tr>
          </table>
        </div>
        <div class="classDescription">
          <div class="descriptionSummary">A couple of commonly used draw functions</div><div class="classFields">
            <div class="boxWithBorder">
              <div class="boxedElem">
                <div class="contentHolder"><span class="title">Example:</span><div class="item">import com.jeroenwijering.utils.Draw;<br /> Draw.square(myClip,myWidth,myHeight,myColor);<br /> Draw.roundedSquare(myClip,myWidth,myHeight,myCornerRadius,myColor,myStrokeThickness,myStrokeColor);</div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="summary hasBottomDivider">
          <h2 class="hasBottomDivider"><span id="Summary">Summary</span></h2>
          <div class="methodList">
            <div class="methodSummaryPart"><span class="title">Class methods</span><ul>
                <li>
                  <a href="#square">square</a>
                </li>
                <li>
                  <a href="#roundedSquare">roundedSquare</a>
                </li>
              </ul>
            </div>
          </div>
        </div>
        <div class="methodSection">
          <h2 class="hasBottomDivider"><span id="Classmethods">Class methods</span></h2>
          <div class="method hasBottomDivider">
            <h3 id="roundedSquare">roundedSquare</h3>
            <div class="fullMemberString">
              <div class="clearfix floatholder">
                <div class="floatbox code">static function <b>roundedSquare</b> (






</div>
                <div><span class="code">tgt:MovieClip,
wth:Number,
hei:Number,
rad:Number,
clr:Number,
tck:Number,
cls:Number) : Void</span></div>
              </div>
            </div>
            <div class="description">Draw a rounded-corner square in a given movieclip.</div>
            <div class="boxWithBorder">
              <div class="boxedElem">
                <div class="contentHolder"><span class="title">Parameters:</span><div class="item">
                    <div class="floatbox code colorizedCode">tgt<span class="itemSeparator">:</span></div>
                    <div>Movieclip to draw the square into.</div>
                  </div>
                  <div class="item">
                    <div class="floatbox code colorizedCode">wth<span class="itemSeparator">:</span></div>
                    <div>Square width.</div>
                  </div>
                  <div class="item">
                    <div class="floatbox code colorizedCode">hei<span class="itemSeparator">:</span></div>
                    <div>Square height.</div>
                  </div>
                  <div class="item">
                    <div class="floatbox code colorizedCode">rad<span class="itemSeparator">:</span></div>
                    <div>Square corner radius.</div>
                  </div>
                  <div class="item">
                    <div class="floatbox code colorizedCode">clr<span class="itemSeparator">:</span></div>
                    <div>Square color.</div>
                  </div>
                  <div class="item">
                    <div class="floatbox code colorizedCode">tck<span class="itemSeparator">:</span></div>
                    <div>(optional) Stroke Thickness.</div>
                  </div>
                  <div class="item">
                    <div class="floatbox code colorizedCode">cls<span class="itemSeparator">:</span></div>
                    <div>(optional) Stroke color.</div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <div class="method hasBottomDivider">
            <h3 id="square">square</h3>
            <div class="fullMemberString">
              <div class="clearfix floatholder">
                <div class="floatbox code">static function <b>square</b> (





</div>
                <div><span class="code">tgt:MovieClip,
wth:Number,
hei:Number,
clr:Number,
tck:Number,
cls:Number) : Void</span></div>
              </div>
            </div>
            <div class="description">Draw a square in a given movieclip.</div>
            <div class="boxWithBorder">
              <div class="boxedElem">
                <div class="contentHolder"><span class="title">Parameters:</span><div class="item">
                    <div class="floatbox code colorizedCode">tgt<span class="itemSeparator">:</span></div>
                    <div>Movieclip to draw the square into.</div>
                  </div>
                  <div class="item">
                    <div class="floatbox code colorizedCode">wth<span class="itemSeparator">:</span></div>
                    <div>Square width.</div>
                  </div>
                  <div class="item">
                    <div class="floatbox code colorizedCode">hei<span class="itemSeparator">:</span></div>
                    <div>Square height.</div>
                  </div>
                  <div class="item">
                    <div class="floatbox code colorizedCode">clr<span class="itemSeparator">:</span></div>
                    <div>Square color.</div>
                  </div>
                  <div class="item">
                    <div class="floatbox code colorizedCode">tck<span class="itemSeparator">:</span></div>
                    <div>(optional) Stroke Thickness.</div>
                  </div>
                  <div class="item">
                    <div class="floatbox code colorizedCode">cls<span class="itemSeparator">:</span></div>
                    <div>(optional) Stroke color.</div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="footer"><span class="docFooter"><span class="createdWith">Created with <a href="http://visiblearea.com/visdoc/">VisDoc</a></span><span class="separator">|</span><span class="creationDate">Tuesday, 07 November 2006, 14:45:41</span><span class="separator">|</span><a href="#" onclick="showTOC(); return false;" class="showToc">show TOC</a><a href="#" onclick="hideTOC(); return false;" class="hideToc">hide TOC</a></span><span class="tocFooter"><a href="#" onclick="hideTOC(); return false;" class="hideToc">hide TOC</a></span>
        </div>
      </div>
    </div>
  </body>
</html>
Return current item: MyOWNSpace