mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-09 17:01:01 +00:00
227 lines
7.1 KiB
HTML
227 lines
7.1 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" xml:lang="en" lang="en">
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
<meta name="generator" content="JsDoc Toolkit" />
|
|
|
|
<title>JsDoc Reference - String</title>
|
|
|
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;" />
|
|
<meta name="mobileoptimized" content="0" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="../css/all.css" media="all" />
|
|
<link rel="stylesheet" type="text/css" href="../css/handheld.css" media="only screen and (max-width: 660px)" />
|
|
<link rel="stylesheet" type="text/css" href="../css/handheld.css" media="handheld" />
|
|
<link rel="stylesheet" type="text/css" href="../css/screen.css" media="screen and (min-width: 661px)" />
|
|
|
|
<script type="text/javascript" src="../javascript/wbos.CSSTools.MediaQueryFallBack.js"></script>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="header">
|
|
</div>
|
|
|
|
<div class="index">
|
|
<div class="menu">
|
|
<!-- begin publish.classesIndex -->
|
|
<div class="indexLinks">
|
|
<a href="../index.html">Classes</a>
|
|
<a href="../files.html">Files</a>
|
|
</div>
|
|
|
|
<h2 class="heading1">Classes</h2>
|
|
|
|
<ul class="classList">
|
|
|
|
<li><a href="../symbols/_global_.html">_global_</a></li>
|
|
|
|
<li><a href="../symbols/Array.html">Array</a></li>
|
|
|
|
<li><a href="../symbols/fabric.Circle.html">fabric<span class='break'> </span>.<span class='break'> </span>Circle</a></li>
|
|
|
|
<li><a href="../symbols/fabric.Color.html">fabric<span class='break'> </span>.<span class='break'> </span>Color</a></li>
|
|
|
|
<li><a href="../symbols/fabric.Element.html">fabric<span class='break'> </span>.<span class='break'> </span>Element</a></li>
|
|
|
|
<li><a href="../symbols/fabric.Element%23cache.html">fabric<span class='break'> </span>.<span class='break'> </span>Element#cache</a></li>
|
|
|
|
<li><a href="../symbols/fabric.Ellipse.html">fabric<span class='break'> </span>.<span class='break'> </span>Ellipse</a></li>
|
|
|
|
<li><a href="../symbols/fabric.Group.html">fabric<span class='break'> </span>.<span class='break'> </span>Group</a></li>
|
|
|
|
<li><a href="../symbols/fabric.Image.html">fabric<span class='break'> </span>.<span class='break'> </span>Image</a></li>
|
|
|
|
<li><a href="../symbols/fabric.Intersection.html">fabric<span class='break'> </span>.<span class='break'> </span>Intersection</a></li>
|
|
|
|
<li><a href="../symbols/fabric.Line.html">fabric<span class='break'> </span>.<span class='break'> </span>Line</a></li>
|
|
|
|
<li><a href="../symbols/fabric.Object.html">fabric<span class='break'> </span>.<span class='break'> </span>Object</a></li>
|
|
|
|
<li><a href="../symbols/fabric.Path.html">fabric<span class='break'> </span>.<span class='break'> </span>Path</a></li>
|
|
|
|
<li><a href="../symbols/fabric.PathGroup.html">fabric<span class='break'> </span>.<span class='break'> </span>PathGroup</a></li>
|
|
|
|
<li><a href="../symbols/fabric.Point.html">fabric<span class='break'> </span>.<span class='break'> </span>Point</a></li>
|
|
|
|
<li><a href="../symbols/fabric.Polygon.html">fabric<span class='break'> </span>.<span class='break'> </span>Polygon</a></li>
|
|
|
|
<li><a href="../symbols/fabric.Polyline.html">fabric<span class='break'> </span>.<span class='break'> </span>Polyline</a></li>
|
|
|
|
<li><a href="../symbols/fabric.Rect.html">fabric<span class='break'> </span>.<span class='break'> </span>Rect</a></li>
|
|
|
|
<li><a href="../symbols/fabric.Text.html">fabric<span class='break'> </span>.<span class='break'> </span>Text</a></li>
|
|
|
|
<li><a href="../symbols/fabric.Triangle.html">fabric<span class='break'> </span>.<span class='break'> </span>Triangle</a></li>
|
|
|
|
<li><a href="../symbols/fabric.util.html">fabric<span class='break'> </span>.<span class='break'> </span>util</a></li>
|
|
|
|
<li><a href="../symbols/fabric.util.array.html">fabric<span class='break'> </span>.<span class='break'> </span>util<span class='break'> </span>.<span class='break'> </span>array</a></li>
|
|
|
|
<li><a href="../symbols/fabric.util.object.html">fabric<span class='break'> </span>.<span class='break'> </span>util<span class='break'> </span>.<span class='break'> </span>object</a></li>
|
|
|
|
<li><a href="../symbols/fabric.util.string.html">fabric<span class='break'> </span>.<span class='break'> </span>util<span class='break'> </span>.<span class='break'> </span>string</a></li>
|
|
|
|
<li><a href="../symbols/Function.html">Function</a></li>
|
|
|
|
<li><a href="../symbols/String.html">String</a></li>
|
|
|
|
</ul>
|
|
|
|
<!-- end publish.classesIndex -->
|
|
</div>
|
|
|
|
<div class="fineprint" style="clear:both">
|
|
|
|
Generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Fri Oct 15 2010 13:14:02 GMT-0400 (EDT)<br />
|
|
HTML template: <a href="http://www.thebrightlines.com/2010/05/06/new-template-for-jsdoctoolkit-codeview/" target="_blank">Codeview 1.1.1</a>
|
|
</div>
|
|
</div>
|
|
<div class="index indexStatic"></div>
|
|
|
|
<div class="content">
|
|
<div class="innerContent">
|
|
<h1 class="classTitle">
|
|
|
|
Built-In Namespace <span>String</span>
|
|
</h1>
|
|
|
|
<p class="description summary">
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--
|
|
#### METHODS SUMMARY
|
|
-->
|
|
|
|
|
|
|
|
<div class="props">
|
|
<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class String.">
|
|
<caption>Method Summary</caption>
|
|
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">Method Attributes</th>
|
|
<th scope="col">Method Name and Description</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td class="attributes"> </td>
|
|
<td class="nameDescription">
|
|
<div class="fixedFont"><b><a href="../symbols/String.html#trim">trim</a></b>()
|
|
</div>
|
|
<div class="description">Trims a string (removing whitespace from the beginning and the end)</div>
|
|
</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!--
|
|
#### EVENTS SUMMARY
|
|
-->
|
|
|
|
|
|
<!--
|
|
#### CONSTRUCTOR DETAILS
|
|
-->
|
|
|
|
|
|
<!--
|
|
#### FIELD DETAILS
|
|
-->
|
|
|
|
|
|
<!--
|
|
#### METHOD DETAILS
|
|
-->
|
|
|
|
<div class="details props">
|
|
<div class="innerProps">
|
|
<div class="sectionTitle">
|
|
Method Detail
|
|
</div>
|
|
|
|
|
|
<a name="trim"></a>
|
|
|
|
<div class="fixedFont heading">
|
|
<span class='lighter'>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<b>trim</b>()
|
|
</div>
|
|
|
|
<div class="description">
|
|
Trims a string (removing whitespace from the beginning and the end)
|
|
|
|
|
|
<br />
|
|
<i>Defined in: </i> <a href="../symbols/src/src_util_lang_string.js.html">lang_string.js</a>.
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!--
|
|
#### EVENT DETAILS
|
|
-->
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
wbos.CssTools.MediaQueryFallBack.LoadCss('../css/screen.css', '../css/handheld.css', 660)
|
|
</script>
|
|
</body>
|
|
</html>
|