<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>API: WireIt WireIt.BezierWire (YUI Library)</title>
<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" />
<link rel="stylesheet" type="text/css" href="assets/api.css" />
<script type="text/javascript" src="assets/api-js"></script>
<script type="text/javascript" src="assets/ac-js"></script>
</head>
<body id="yahoo-com">
<div id="doc3" class="yui-t2">
<div id="hd">
<h1><a href="http://neyric.github.com/wireit" title="WireItLibrary">WireItLibrary</a></h1>
<h3>WireIt <span class="subtitle">0.6.0</span></h3>
<a href="./index.html" title="WireItLibrary">WireItLibrary</a>
> <a href="./module_wireit.html" title="WireIt">WireIt</a>
> WireIt.BezierWire
<form onsubmit="return false">
<div id="propertysearch">
Search: <input autocomplete="off" id="searchinput" />
<div id="searchresults">
</div>
</div>
</form>
</div>
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
<fieldset>
<legend>Filters</legend>
<span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
<span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
<span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
</fieldset>
</form>
<h2>
Class <b property="yui:name">WireIt.BezierWire</b>
<span class="extends">
- extends <a href="WireIt.Wire.html" title="WireIt.Wire">WireIt.Wire</a>
</span>
</h2>
<!-- class tree goes here -->
<dl class="subclasses" rel="yui:subclasses">
<dt>Known Subclasses:</dt>
<dd>
<span rel="yui:subclass" resource="WireIt.BezierArrowWire.html">
<a href="WireIt.BezierArrowWire.html" property="yui:name" title="WireIt.BezierArrowWire">WireIt.BezierArrowWire</a>
</span>
</dd>
</dl>
<div class="summary description" property="yui:description">
The bezier wire widget
</div>
<div class="section constructor details" rel="yui:constructor" resource="#constructor">
<h3 id="constructor">Constructor</h3>
<div class="content">
<div class="detail">
<strong property="yui:name">WireIt.BezierWire</strong>
<code>
(
terminal1
,
terminal2
,
parentEl
,
options
)
</code>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">terminal1</span>
<<span property="yui:type">WireIt.Terminal</span>>
</code>
<span property="yui:description"> Source terminal</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">terminal2</span>
<<span property="yui:type">WireIt.Terminal</span>>
</code>
<span property="yui:description"> Target terminal</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">parentEl</span>
<<span property="yui:type">HTMLElement</span>>
</code>
<span property="yui:description"> Container of the CANVAS tag</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">options</span>
<<span property="yui:type">Obj</span>>
</code>
<span property="yui:description"> Wire configuration (see options property)</span>
</dd>
</dl>
</div>
</div>
</div>
</div>
<div rel="yui:properties" resource="#properties">
<div class="section field details">
<h3 id="properties">Properties</h3>
<div class="content">
<div class="" rel="yui:property" resource="#property_coeffMulDirection">
<h4><a name="property_coeffMulDirection" property="yui:name">coeffMulDirection</a>
- <code><span property="yui:type">Integer</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Norm of the tangent vector at the terminals
</div>
</div>
<div class="default" property="yui:defaultValue">
Default Value: 100
</div>
<hr />
</div>
<div class="" rel="yui:property" resource="#property_xtype">
<h4><a name="property_xtype" property="yui:name">xtype</a>
- <code><span property="yui:type">String</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
String representing this class for exporting as JSON
</div>
</div>
<div class="default" property="yui:defaultValue">
Default Value: "WireIt.BezierWire"
</div>
<hr />
</div>
</div>
</div>
<div rel="yui:inheritance">
<div class="section field inheritance" rel="yui:superclass" resource="WireIt.CanvasElement.html">
<h4>Properties inherited from <a href="WireIt.CanvasElement.html" property="yui:name" title="WireIt.CanvasElement">WireIt.CanvasElement</a>:</h4>
<div class="content" rel="yui:properties">
<code>
<span rel="yui:property" resource="WireIt.CanvasElement.html#property_element">
<a class="" href="WireIt.CanvasElement.html#property_element" property="yui:name" title="element">element</a>
</span>
</code>
</div>
</div>
<div class="section field inheritance" rel="yui:superclass" resource="WireIt.Wire.html">
<h4>Properties inherited from <a href="WireIt.Wire.html" property="yui:name" title="WireIt.Wire">WireIt.Wire</a>:</h4>
<div class="content" rel="yui:properties">
<code>
<span rel="yui:property" resource="WireIt.Wire.html#property_bordercap">
<a class="" href="WireIt.Wire.html#property_bordercap" property="yui:name" title="bordercap">bordercap</a><span class="">,</span>
</span>
<span rel="yui:property" resource="WireIt.Wire.html#property_bordercolor">
<a class="" href="WireIt.Wire.html#property_bordercolor" property="yui:name" title="bordercolor">bordercolor</a><span class="">,</span>
</span>
<span rel="yui:property" resource="WireIt.Wire.html#property_borderwidth">
<a class="" href="WireIt.Wire.html#property_borderwidth" property="yui:name" title="borderwidth">borderwidth</a><span class="">,</span>
</span>
<span rel="yui:property" resource="WireIt.Wire.html#property_cap">
<a class="" href="WireIt.Wire.html#property_cap" property="yui:name" title="cap">cap</a><span class="">,</span>
</span>
<span rel="yui:property" resource="WireIt.Wire.html#property_className">
<a class="" href="WireIt.Wire.html#property_className" property="yui:name" title="className">className</a><span class="">,</span>
</span>
<span rel="yui:property" resource="WireIt.Wire.html#property_color">
<a class="" href="WireIt.Wire.html#property_color" property="yui:name" title="color">color</a><span class="">,</span>
</span>
<span rel="yui:property" resource="WireIt.Wire.html#property_label">
<a class="" href="WireIt.Wire.html#property_label" property="yui:name" title="label">label</a><span class="">,</span>
</span>
<span rel="yui:property" resource="WireIt.Wire.html#property_labelEditor">
<a class="" href="WireIt.Wire.html#property_labelEditor" property="yui:name" title="labelEditor">labelEditor</a><span class="">,</span>
</span>
<span rel="yui:property" resource="WireIt.Wire.html#property_labelStyle">
<a class="" href="WireIt.Wire.html#property_labelStyle" property="yui:name" title="labelStyle">labelStyle</a><span class="">,</span>
</span>
<span rel="yui:property" resource="WireIt.Wire.html#property_parentEl">
<a class="" href="WireIt.Wire.html#property_parentEl" property="yui:name" title="parentEl">parentEl</a><span class="">,</span>
</span>
<span rel="yui:property" resource="WireIt.Wire.html#property_terminal1">
<a class="" href="WireIt.Wire.html#property_terminal1" property="yui:name" title="terminal1">terminal1</a><span class="">,</span>
</span>
<span rel="yui:property" resource="WireIt.Wire.html#property_terminal2">
<a class="" href="WireIt.Wire.html#property_terminal2" property="yui:name" title="terminal2">terminal2</a><span class="">,</span>
</span>
<span rel="yui:property" resource="WireIt.Wire.html#property_width">
<a class="" href="WireIt.Wire.html#property_width" property="yui:name" title="width">width</a><span class="">,</span>
</span>
<span rel="yui:property" resource="WireIt.Wire.html#property_xtype">
<a class="" href="WireIt.Wire.html#property_xtype" property="yui:name" title="xtype">xtype</a>
</span>
</code>
</div>
</div>
</div>
</div>
<div rel="yui:methods" resource="#methods">
<div class="section method details">
<h3 id="methods">Methods</h3>
<div class="content">
<div class="" rel="yui:method" resource="#method_draw">
<h4>
<a name="method_draw">draw</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">draw</strong>
(
)
</code>
<div class="description" property="yui:description">
Redraw the Wire
</div>
<div class="description">
</div>
</div>
<hr />
</div>
</div>
</div>
<div rel="yui:inheritance">
<div class="section field inheritance" rel="yui:superclass" resource="WireIt.CanvasElement.html">
<h4>Methods inherited from <a href="WireIt.CanvasElement.html" property="yui:name" title="WireIt.CanvasElement">WireIt.CanvasElement</a>:</h4>
<div class="content" rel="yui:methods">
<code>
<span rel="yui:method" resource="WireIt.CanvasElement.html#method_destroy">
<a class="" href="WireIt.CanvasElement.html#method_destroy" property="yui:name" title="destroy">destroy</a><span class="">,</span>
</span>
<span rel="yui:method" resource="WireIt.CanvasElement.html#method_getContext">
<a class="" href="WireIt.CanvasElement.html#method_getContext" property="yui:name" title="getContext">getContext</a><span class="">,</span>
</span>
<span rel="yui:method" resource="WireIt.CanvasElement.html#method_SetCanvasRegion">
<a class="" href="WireIt.CanvasElement.html#method_SetCanvasRegion" property="yui:name" title="SetCanvasRegion">SetCanvasRegion</a>
</span>
</code>
</div>
</div>
<div class="section field inheritance" rel="yui:superclass" resource="WireIt.Wire.html">
<h4>Methods inherited from <a href="WireIt.Wire.html" property="yui:name" title="WireIt.Wire">WireIt.Wire</a>:</h4>
<div class="content" rel="yui:methods">
<code>
<span rel="yui:method" resource="WireIt.Wire.html#method_draw">
<a class="" href="WireIt.Wire.html#method_draw" property="yui:name" title="draw">draw</a><span class="">,</span>
</span>
<span rel="yui:method" resource="WireIt.Wire.html#method_getConfig">
<a class="" href="WireIt.Wire.html#method_getConfig" property="yui:name" title="getConfig">getConfig</a><span class="">,</span>
</span>
<span rel="yui:method" resource="WireIt.Wire.html#method_getOtherTerminal">
<a class="" href="WireIt.Wire.html#method_getOtherTerminal" property="yui:name" title="getOtherTerminal">getOtherTerminal</a><span class="">,</span>
</span>
<span rel="yui:method" resource="WireIt.Wire.html#method_onClick">
<a class="" href="WireIt.Wire.html#method_onClick" property="yui:name" title="onClick">onClick</a><span class="">,</span>
</span>
<span rel="yui:method" resource="WireIt.Wire.html#method_onMouseMove">
<a class="" href="WireIt.Wire.html#method_onMouseMove" property="yui:name" title="onMouseMove">onMouseMove</a><span class="">,</span>
</span>
<span rel="yui:method" resource="WireIt.Wire.html#method_onWireClick">
<a class="" href="WireIt.Wire.html#method_onWireClick" property="yui:name" title="onWireClick">onWireClick</a><span class="">,</span>
</span>
<span rel="yui:method" resource="WireIt.Wire.html#method_onWireIn">
<a class="" href="WireIt.Wire.html#method_onWireIn" property="yui:name" title="onWireIn">onWireIn</a><span class="">,</span>
</span>
<span rel="yui:method" resource="WireIt.Wire.html#method_onWireMove">
<a class="" href="WireIt.Wire.html#method_onWireMove" property="yui:name" title="onWireMove">onWireMove</a><span class="">,</span>
</span>
<span rel="yui:method" resource="WireIt.Wire.html#method_onWireOut">
<a class="" href="WireIt.Wire.html#method_onWireOut" property="yui:name" title="onWireOut">onWireOut</a><span class="">,</span>
</span>
<span rel="yui:method" resource="WireIt.Wire.html#method_positionLabel">
<a class="" href="WireIt.Wire.html#method_positionLabel" property="yui:name" title="positionLabel">positionLabel</a><span class="">,</span>
</span>
<span rel="yui:method" resource="WireIt.Wire.html#method_redraw">
<a class="" href="WireIt.Wire.html#method_redraw" property="yui:name" title="redraw">redraw</a><span class="">,</span>
</span>
<span rel="yui:method" resource="WireIt.Wire.html#method_remove">
<a class="" href="WireIt.Wire.html#method_remove" property="yui:name" title="remove">remove</a><span class="">,</span>
</span>
<span rel="yui:method" resource="WireIt.Wire.html#method_renderLabel">
<a class="" href="WireIt.Wire.html#method_renderLabel" property="yui:name" title="renderLabel">renderLabel</a><span class="">,</span>
</span>
<span rel="yui:method" resource="WireIt.Wire.html#method_setLabel">
<a class="" href="WireIt.Wire.html#method_setLabel" property="yui:name" title="setLabel">setLabel</a><span class="">,</span>
</span>
<span rel="yui:method" resource="WireIt.Wire.html#method_setOptions">
<a class="" href="WireIt.Wire.html#method_setOptions" property="yui:name" title="setOptions">setOptions</a><span class="">,</span>
</span>
<span rel="yui:method" resource="WireIt.Wire.html#method_wireDrawnAt">
<a class="" href="WireIt.Wire.html#method_wireDrawnAt" property="yui:name" title="wireDrawnAt">wireDrawnAt</a>
</span>
</code>
</div>
</div>
</div>
</div>
<div rel="yui:events" resource="#events">
<div rel="yui:inheritance">
<div class="section field inheritance" rel="yui:superclass" resource="WireIt.Wire.html">
<h4>Events inherited from <a href="WireIt.Wire.html" property="yui:name" title="WireIt.Wire">WireIt.Wire</a>:</h4>
<div class="content" rel="yui:events">
<code>
<span rel="yui:event" resource="WireIt.Wire.html#event_eventMouseClick">
<a class="" href="WireIt.Wire.html#event_eventMouseClick" property="yui:name" title="eventMouseClick">eventMouseClick</a><span class="">,</span>
</span>
<span rel="yui:event" resource="WireIt.Wire.html#event_eventMouseIn">
<a class="" href="WireIt.Wire.html#event_eventMouseIn" property="yui:name" title="eventMouseIn">eventMouseIn</a><span class="">,</span>
</span>
<span rel="yui:event" resource="WireIt.Wire.html#event_eventMouseMove">
<a class="" href="WireIt.Wire.html#event_eventMouseMove" property="yui:name" title="eventMouseMove">eventMouseMove</a><span class="">,</span>
</span>
<span rel="yui:event" resource="WireIt.Wire.html#event_eventMouseOut">
<a class="" href="WireIt.Wire.html#event_eventMouseOut" property="yui:name" title="eventMouseOut">eventMouseOut</a><span class="">,</span>
</span>
</code>
</div>
</div>
</div>
</div>
<div rel="yui:attributes" resource="#configattributes">
</div>
</div>
</div>
<div class="yui-b">
<div class="nav">
<div id="moduleList" class="module">
<h4>Modules</h4>
<ul class="content">
<li class=""><a href="module_animations-plugin.html" title="animations-plugin">animations-plugin</a></li>
<li class=""><a href="module_composable-plugin.html" title="composable-plugin">composable-plugin</a></li>
<li class=""><a href="module_editor-plugin.html" title="editor-plugin">editor-plugin</a></li>
<li class=""><a href="module_inputex-plugin.html" title="inputex-plugin">inputex-plugin</a></li>
<li class=""><a href="module_layout-plugin.html" title="layout-plugin">layout-plugin</a></li>
<li class="selected"><a href="module_wireit.html" title="WireIt">WireIt</a></li>
</ul>
</div>
<div id="classList" class="module">
<h4>Classes</h4>
<ul class="content">
<li class=""><a href="WireIt.ArrowWire.html" title="WireIt.ArrowWire">WireIt.ArrowWire</a></li>
<li class=""><a href="WireIt.BezierArrowWire.html" title="WireIt.BezierArrowWire">WireIt.BezierArrowWire</a></li>
<li class="selected"><a href="WireIt.BezierWire.html" title="WireIt.BezierWire">WireIt.BezierWire</a></li>
<li class=""><a href="WireIt.CanvasContainer.html" title="WireIt.CanvasContainer">WireIt.CanvasContainer</a></li>
<li class=""><a href="WireIt.CanvasElement.html" title="WireIt.CanvasElement">WireIt.CanvasElement</a></li>
<li class=""><a href="WireIt.Container.html" title="WireIt.Container">WireIt.Container</a></li>
<li class=""><a href="WireIt.Layer.html" title="WireIt.Layer">WireIt.Layer</a></li>
<li class=""><a href="WireIt.LayerMap.html" title="WireIt.LayerMap">WireIt.LayerMap</a></li>
<li class=""><a href="WireIt.LeftSquareArrow.html" title="WireIt.LeftSquareArrow">WireIt.LeftSquareArrow</a></li>
<li class=""><a href="WireIt.RectLabelContainer.html" title="WireIt.RectLabelContainer">WireIt.RectLabelContainer</a></li>
<li class=""><a href="WireIt.RightSquareArrow.html" title="WireIt.RightSquareArrow">WireIt.RightSquareArrow</a></li>
<li class=""><a href="WireIt.Scissors.html" title="WireIt.Scissors">WireIt.Scissors</a></li>
<li class=""><a href="WireIt.StepWire.html" title="WireIt.StepWire">WireIt.StepWire</a></li>
<li class=""><a href="WireIt.Terminal.html" title="WireIt.Terminal">WireIt.Terminal</a></li>
<li class=""><a href="WireIt.TerminalProxy.html" title="WireIt.TerminalProxy">WireIt.TerminalProxy</a></li>
<li class=""><a href="WireIt.util.DD.html" title="WireIt.util.DD">WireIt.util.DD</a></li>
<li class=""><a href="WireIt.util.DDResize.html" title="WireIt.util.DDResize">WireIt.util.DDResize</a></li>
<li class=""><a href="WireIt.util.EllipseLabelContainer.html" title="WireIt.util.EllipseLabelContainer">WireIt.util.EllipseLabelContainer</a></li>
<li class=""><a href="WireIt.util.ImageContainer.html" title="WireIt.util.ImageContainer">WireIt.util.ImageContainer</a></li>
<li class=""><a href="WireIt.util.InOutContainer.html" title="WireIt.util.InOutContainer">WireIt.util.InOutContainer</a></li>
<li class=""><a href="WireIt.util.TerminalInput.html" title="WireIt.util.TerminalInput">WireIt.util.TerminalInput</a></li>
<li class=""><a href="WireIt.util.TerminalOutput.html" title="WireIt.util.TerminalOutput">WireIt.util.TerminalOutput</a></li>
<li class=""><a href="WireIt.Wire.html" title="WireIt.Wire">WireIt.Wire</a></li>
<li class=""><a href="WireIt.WireIt.html" title="WireIt.WireIt">WireIt.WireIt</a></li>
</ul>
</div>
<div id="fileList" class="module">
<h4>Files</h4>
<ul class="content">
<li class=""><a href="ArrowWire.js.html" title="ArrowWire.js">ArrowWire.js</a></li>
<li class=""><a href="BezierArrowWire.js.html" title="BezierArrowWire.js">BezierArrowWire.js</a></li>
<li class=""><a href="BezierWire.js.html" title="BezierWire.js">BezierWire.js</a></li>
<li class=""><a href="CanvasContainer.js.html" title="CanvasContainer.js">CanvasContainer.js</a></li>
<li class=""><a href="CanvasElement.js.html" title="CanvasElement.js">CanvasElement.js</a></li>
<li class=""><a href="Container.js.html" title="Container.js">Container.js</a></li>
<li class=""><a href="DD.js.html" title="DD.js">DD.js</a></li>
<li class=""><a href="DDResize.js.html" title="DDResize.js">DDResize.js</a></li>
<li class=""><a href="EllipseLabelContainer.js.html" title="EllipseLabelContainer.js">EllipseLabelContainer.js</a></li>
<li class=""><a href="ImageContainer.js.html" title="ImageContainer.js">ImageContainer.js</a></li>
<li class=""><a href="InOutContainer.js.html" title="InOutContainer.js">InOutContainer.js</a></li>
<li class=""><a href="Layer.js.html" title="Layer.js">Layer.js</a></li>
<li class=""><a href="LayerMap.js.html" title="LayerMap.js">LayerMap.js</a></li>
<li class=""><a href="LeftSquareArrowWire.js.html" title="LeftSquareArrowWire.js">LeftSquareArrowWire.js</a></li>
<li class=""><a href="RectLabelContainer.js.html" title="RectLabelContainer.js">RectLabelContainer.js</a></li>
<li class=""><a href="RightSquareArrowWire.js.html" title="RightSquareArrowWire.js">RightSquareArrowWire.js</a></li>
<li class=""><a href="Scissors.js.html" title="Scissors.js">Scissors.js</a></li>
<li class=""><a href="StepWire.js.html" title="StepWire.js">StepWire.js</a></li>
<li class=""><a href="Terminal.js.html" title="Terminal.js">Terminal.js</a></li>
<li class=""><a href="TerminalInput.js.html" title="TerminalInput.js">TerminalInput.js</a></li>
<li class=""><a href="TerminalOutput.js.html" title="TerminalOutput.js">TerminalOutput.js</a></li>
<li class=""><a href="TerminalProxy.js.html" title="TerminalProxy.js">TerminalProxy.js</a></li>
<li class=""><a href="Wire.js.html" title="Wire.js">Wire.js</a></li>
<li class=""><a href="WireIt.js.html" title="WireIt.js">WireIt.js</a></li>
</ul>
</div>
<div id="propertyList" class="module">
<h4>Properties</h4>
<ul class="content">
<li class=""><a href="#property_coeffMulDirection" title="coeffMulDirection">coeffMulDirection</a></li>
<li class=""><a href="#property_xtype" title="xtype">xtype</a></li>
</ul>
</div>
<div id="methodsList" class="module">
<h4>Methods</h4>
<ul class="content">
<li class=""><a href="#method_draw" title="draw">draw</a></li>
</ul>
</div>
</div>
</div>
</div>
<div id="ft">
<hr />
Copyright © 2010 Eric Abouaf All rights reserved.
</div>
</div>
<script type="text/javascript">
var ALL_YUI_PROPS = [{"url": "WireIt.BezierWire.html#property_coeffMulDirection", "access": "", "host": "WireIt.BezierWire", "type": "property", "name": "coeffMulDirection"}, {"url": "WireIt.ArrowWire.html#method_draw", "access": "", "host": "WireIt.ArrowWire", "type": "method", "name": "draw"}, {"url": "WireIt.BezierArrowWire.html#method_draw", "access": "", "host": "WireIt.BezierArrowWire", "type": "method", "name": "draw"}, {"url": "WireIt.BezierWire.html#method_draw", "access": "", "host": "WireIt.BezierWire", "type": "method", "name": "draw"}, {"url": "WireIt.ArrowWire.html#property_xtype", "access": "", "host": "WireIt.ArrowWire", "type": "property", "name": "xtype"}, {"url": "WireIt.BezierArrowWire.html#property_xtype", "access": "", "host": "WireIt.BezierArrowWire", "type": "property", "name": "xtype"}, {"url": "WireIt.BezierWire.html#property_xtype", "access": "", "host": "WireIt.BezierWire", "type": "property", "name": "xtype"}];
</script>
</body>
</html>