

<a name="fontgate.fgContour"></a>

# `fgContour`


<dt class="class"><h2><span class="class-name">fontgate.fgContour</span> = <a name="fontgate.fgContour" href="#fontgate.fgContour">class fgContour</a>(<a href="./__builtin__.html#object">object</a>)</h2></dt><dd class="class"><dd>


<pre class="doc" markdown="0">Contour representation

Constructors:
  fgContour() - default
  fgContour(fgContour) - copy</pre>


</dd><h4 class="head-methods">Methods </h4><dl class="function"><dt><a name="fgContour-__add__" href="#fgContour-__add__"><span class="function-name">__add__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgContour-__add__">__add__</a>(y) <==> x+y</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-__cmp__" href="#fgContour-__cmp__"><span class="function-name">__cmp__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgContour-__cmp__">__cmp__</a>(y) <==> cmp(x,y)</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-__delattr__" href="#fgContour-__delattr__"><span class="function-name">__delattr__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgContour-__delattr__">__delattr__</a>('name') <==> del x.name</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-__delitem__" href="#fgContour-__delitem__"><span class="function-name">__delitem__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgContour-__delitem__">__delitem__</a>(y) <==> del x[y]</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-__delslice__" href="#fgContour-__delslice__"><span class="function-name">__delslice__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgContour-__delslice__">__delslice__</a>(i, j) <==> del x[i:j]

Use of negative indices is not supported.</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-__getattribute__" href="#fgContour-__getattribute__"><span class="function-name">__getattribute__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgContour-__getattribute__">__getattribute__</a>('name') <==> x.name</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-__getitem__" href="#fgContour-__getitem__"><span class="function-name">__getitem__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgContour-__getitem__">__getitem__</a>(y) <==> x[y]</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-__getslice__" href="#fgContour-__getslice__"><span class="function-name">__getslice__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgContour-__getslice__">__getslice__</a>(i, j) <==> x[i:j]

Use of negative indices is not supported.</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-__init__" href="#fgContour-__init__"><span class="function-name">__init__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgContour-__init__">__init__</a>(...) initializes x; see help(type(x)) for signature</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-__len__" href="#fgContour-__len__"><span class="function-name">__len__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgContour-__len__">__len__</a>() <==> len(x)</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-__mul__" href="#fgContour-__mul__"><span class="function-name">__mul__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgContour-__mul__">__mul__</a>(n) <==> x*n</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-__repr__" href="#fgContour-__repr__"><span class="function-name">__repr__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgContour-__repr__">__repr__</a>() <==> repr(x)</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-__rmul__" href="#fgContour-__rmul__"><span class="function-name">__rmul__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgContour-__rmul__">__rmul__</a>(n) <==> n*x</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-__setattr__" href="#fgContour-__setattr__"><span class="function-name">__setattr__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgContour-__setattr__">__setattr__</a>('name', value) <==> x.name = value</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-__setitem__" href="#fgContour-__setitem__"><span class="function-name">__setitem__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgContour-__setitem__">__setitem__</a>(i, y) <==> x[i]=y</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-__setslice__" href="#fgContour-__setslice__"><span class="function-name">__setslice__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgContour-__setslice__">__setslice__</a>(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-__str__" href="#fgContour-__str__"><span class="function-name">__str__</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">x.<a href="#fontgate.fgContour-__str__">__str__</a>() <==> str(x)</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-appendNode" href="#fgContour-appendNode"><span class="function-name">appendNode</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0"><a href="#fontgate.fgContour-appendNode">appendNode</a>(fgNode) - add node to the end of the contour</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-area" href="#fgContour-area"><span class="function-name">area</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">float <a href="#fontgate.fgContour-area">area</a>()</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-autoClose" href="#fgContour-autoClose"><span class="function-name">autoClose</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool <a href="#fontgate.fgContour-autoClose">autoClose</a>() - bool <a href="#fontgate.fgContour-autoClose">autoClose</a>() - close contour, return true if changes was made</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-autoInterpolated" href="#fgContour-autoInterpolated"><span class="function-name">autoInterpolated</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool <a href="#fontgate.fgContour-autoInterpolated">autoInterpolated</a>() - interpolate contour nodes, return true if changes was made</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-autoSmooth" href="#fgContour-autoSmooth"><span class="function-name">autoSmooth</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool <a href="#fontgate.fgContour-autoSmooth">autoSmooth</a>() - smooth contour nodes, return true if changes was made</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-boundingBox" href="#fgContour-boundingBox"><span class="function-name">boundingBox</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">fgRect <a href="#fontgate.fgContour-boundingBox">boundingBox</a>(fgMatrix[, bool prepareExport = false])</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-clear" href="#fgContour-clear"><span class="function-name">clear</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0"><a href="#fontgate.fgContour-clear">clear</a>() - clear all nodes</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-contains" href="#fgContour-contains"><span class="function-name">contains</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool/Nothing <a href="#fontgate.fgContour-contains">contains</a>(fgPoint[, bool winding = false])</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-containsCurvePoint" href="#fgContour-containsCurvePoint"><span class="function-name">containsCurvePoint</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool <a href="#fontgate.fgContour-containsCurvePoint">containsCurvePoint</a>()</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-containsOffPoint" href="#fgContour-containsOffPoint"><span class="function-name">containsOffPoint</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool <a href="#fontgate.fgContour-containsOffPoint">containsOffPoint</a>()</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-countNodes" href="#fgContour-countNodes"><span class="function-name">countNodes</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">int <a href="#fontgate.fgContour-countNodes">countNodes</a>() - get count of nodes</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-deleteNode" href="#fgContour-deleteNode"><span class="function-name">deleteNode</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool <a href="#fontgate.fgContour-deleteNode">deleteNode</a>(int nodeIndex) - delete node</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-draw" href="#fgContour-draw"><span class="function-name">draw</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0"><a href="#fontgate.fgContour-draw">draw</a>(segmentPen) - draw the object with a segment pen</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-drawPoints" href="#fgContour-drawPoints"><span class="function-name">drawPoints</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0"><a href="#fontgate.fgContour-drawPoints">drawPoints</a>(pointPen) - draw the object with a point pen</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-empty" href="#fgContour-empty"><span class="function-name">empty</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool <a href="#fontgate.fgContour-empty">empty</a>() - return True if contour haven't any node</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-filterOnPoints" href="#fgContour-filterOnPoints"><span class="function-name">filterOnPoints</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0"><a href="#fontgate.fgContour-filterOnPoints">filterOnPoints</a>()</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-getNode" href="#fgContour-getNode"><span class="function-name">getNode</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">fgNode <a href="#fontgate.fgContour-getNode">getNode</a>(int nodeIndex) - get node by index</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-getNodes" href="#fgContour-getNodes"><span class="function-name">getNodes</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">[ fgNode ] <a href="#fontgate.fgContour-getNodes">getNodes</a>() - get list of fgNode objects</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-getUFONodesList" href="#fgContour-getUFONodesList"><span class="function-name">getUFONodesList</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">[ ((x, y), 'nodetype', bool smooth, 'name') ] <a href="#fontgate.fgContour-getUFONodesList">getUFONodesList</a>() -get list of contour nodes as UFO-style tuples</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-insertNode" href="#fgContour-insertNode"><span class="function-name">insertNode</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0"><a href="#fontgate.fgContour-insertNode">insertNode</a>(fgNode, int insertTo) - insert node into position insertTo</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-isCompatible" href="#fgContour-isCompatible"><span class="function-name">isCompatible</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool <a href="#fontgate.fgContour-isCompatible">isCompatible</a>(fgContour)</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-length" href="#fgContour-length"><span class="function-name">length</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">int <a href="#fontgate.fgContour-length">length</a>() - get count of nodes</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-midPoint" href="#fgContour-midPoint"><span class="function-name">midPoint</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">fgPoint <a href="#fontgate.fgContour-midPoint">midPoint</a>()</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-reverse" href="#fgContour-reverse"><span class="function-name">reverse</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0"><a href="#fontgate.fgContour-reverse">reverse</a>() - reverse order of contour nodes</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-toCurves" href="#fgContour-toCurves"><span class="function-name">toCurves</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0"><a href="#fontgate.fgContour-toCurves">toCurves</a>([tolerance = 5.])</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-toShortSplines" href="#fgContour-toShortSplines"><span class="function-name">toShortSplines</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0"><a href="#fontgate.fgContour-toShortSplines">toShortSplines</a>([tolerance = 5.[, bool short_splines = true]])</pre>

</dd></dl>
<dl class="function"><dt><a name="fgContour-transform" href="#fgContour-transform"><span class="function-name">transform</span></a><span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">fgContour <a href="#fontgate.fgContour-transform">transform</a>(fgMatrix)</pre>

</dd></dl>

  <h4 class="head-desc">Descriptors </h4><dl class="descriptor"><dt>name</dt>
<dd>

<pre class="doc" markdown="0">(string) name of contour</pre>

</dd>
</dl>
<dl class="descriptor"><dt>nodes</dt>
<dd>

<pre class="doc" markdown="0">([fgNode]) contour nodes</pre>

</dd>
</dl>
<dl class="descriptor"><dt>open</dt>
<dd>

<pre class="doc" markdown="0">(bool) open flag</pre>

</dd>
</dl>

  <h4 class="head-attrs">Attributes </h4><dl><dt><span class="other-name">__new__</span> = &lt;built-in method __new__ of type object&gt;<dd>

<pre class="doc" markdown="0">T.<a href="#fontgate.fgContour-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</pre>

</dd></dl>
</dd>


<a name="fontgate.fgContour.appendNode"></a>

## `appendNode`


<dl class="function"><dt><a name="-fontgate.fgContour.appendNode" href="#-fontgate.fgContour.appendNode"><span class="function-name">fontgate.fgContour.appendNode</span></a> = appendNode<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">appendNode(fgNode) - add node to the end of the contour</pre>

</dd></dl>



<a name="fontgate.fgContour.area"></a>

## `area`


<dl class="function"><dt><a name="-fontgate.fgContour.area" href="#-fontgate.fgContour.area"><span class="function-name">fontgate.fgContour.area</span></a> = area<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">float area()</pre>

</dd></dl>



<a name="fontgate.fgContour.autoClose"></a>

## `autoClose`


<dl class="function"><dt><a name="-fontgate.fgContour.autoClose" href="#-fontgate.fgContour.autoClose"><span class="function-name">fontgate.fgContour.autoClose</span></a> = autoClose<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool autoClose() - bool autoClose() - close contour, return true if changes was made</pre>

</dd></dl>



<a name="fontgate.fgContour.autoInterpolated"></a>

## `autoInterpolated`


<dl class="function"><dt><a name="-fontgate.fgContour.autoInterpolated" href="#-fontgate.fgContour.autoInterpolated"><span class="function-name">fontgate.fgContour.autoInterpolated</span></a> = autoInterpolated<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool autoInterpolated() - interpolate contour nodes, return true if changes was made</pre>

</dd></dl>



<a name="fontgate.fgContour.autoSmooth"></a>

## `autoSmooth`


<dl class="function"><dt><a name="-fontgate.fgContour.autoSmooth" href="#-fontgate.fgContour.autoSmooth"><span class="function-name">fontgate.fgContour.autoSmooth</span></a> = autoSmooth<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool autoSmooth() - smooth contour nodes, return true if changes was made</pre>

</dd></dl>



<a name="fontgate.fgContour.boundingBox"></a>

## `boundingBox`


<dl class="function"><dt><a name="-fontgate.fgContour.boundingBox" href="#-fontgate.fgContour.boundingBox"><span class="function-name">fontgate.fgContour.boundingBox</span></a> = boundingBox<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">fgRect boundingBox(fgMatrix[, bool prepareExport = false])</pre>

</dd></dl>



<a name="fontgate.fgContour.clear"></a>

## `clear`


<dl class="function"><dt><a name="-fontgate.fgContour.clear" href="#-fontgate.fgContour.clear"><span class="function-name">fontgate.fgContour.clear</span></a> = clear<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">clear() - clear all nodes</pre>

</dd></dl>



<a name="fontgate.fgContour.contains"></a>

## `contains`


<dl class="function"><dt><a name="-fontgate.fgContour.contains" href="#-fontgate.fgContour.contains"><span class="function-name">fontgate.fgContour.contains</span></a> = contains<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool/Nothing contains(fgPoint[, bool winding = false])</pre>

</dd></dl>



<a name="fontgate.fgContour.containsCurvePoint"></a>

## `containsCurvePoint`


<dl class="function"><dt><a name="-fontgate.fgContour.containsCurvePoint" href="#-fontgate.fgContour.containsCurvePoint"><span class="function-name">fontgate.fgContour.containsCurvePoint</span></a> = containsCurvePoint<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool containsCurvePoint()</pre>

</dd></dl>



<a name="fontgate.fgContour.containsOffPoint"></a>

## `containsOffPoint`


<dl class="function"><dt><a name="-fontgate.fgContour.containsOffPoint" href="#-fontgate.fgContour.containsOffPoint"><span class="function-name">fontgate.fgContour.containsOffPoint</span></a> = containsOffPoint<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool containsOffPoint()</pre>

</dd></dl>



<a name="fontgate.fgContour.countNodes"></a>

## `countNodes`


<dl class="function"><dt><a name="-fontgate.fgContour.countNodes" href="#-fontgate.fgContour.countNodes"><span class="function-name">fontgate.fgContour.countNodes</span></a> = countNodes<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">int countNodes() - get count of nodes</pre>

</dd></dl>



<a name="fontgate.fgContour.deleteNode"></a>

## `deleteNode`


<dl class="function"><dt><a name="-fontgate.fgContour.deleteNode" href="#-fontgate.fgContour.deleteNode"><span class="function-name">fontgate.fgContour.deleteNode</span></a> = deleteNode<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool deleteNode(int nodeIndex) - delete node</pre>

</dd></dl>



<a name="fontgate.fgContour.draw"></a>

## `draw`


<dl class="function"><dt><a name="-fontgate.fgContour.draw" href="#-fontgate.fgContour.draw"><span class="function-name">fontgate.fgContour.draw</span></a> = draw<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">draw(segmentPen) - draw the object with a segment pen</pre>

</dd></dl>



<a name="fontgate.fgContour.drawPoints"></a>

## `drawPoints`


<dl class="function"><dt><a name="-fontgate.fgContour.drawPoints" href="#-fontgate.fgContour.drawPoints"><span class="function-name">fontgate.fgContour.drawPoints</span></a> = drawPoints<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">drawPoints(pointPen) - draw the object with a point pen</pre>

</dd></dl>



<a name="fontgate.fgContour.empty"></a>

## `empty`


<dl class="function"><dt><a name="-fontgate.fgContour.empty" href="#-fontgate.fgContour.empty"><span class="function-name">fontgate.fgContour.empty</span></a> = empty<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool empty() - return True if contour haven't any node</pre>

</dd></dl>



<a name="fontgate.fgContour.filterOnPoints"></a>

## `filterOnPoints`


<dl class="function"><dt><a name="-fontgate.fgContour.filterOnPoints" href="#-fontgate.fgContour.filterOnPoints"><span class="function-name">fontgate.fgContour.filterOnPoints</span></a> = filterOnPoints<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">filterOnPoints()</pre>

</dd></dl>



<a name="fontgate.fgContour.getNode"></a>

## `getNode`


<dl class="function"><dt><a name="-fontgate.fgContour.getNode" href="#-fontgate.fgContour.getNode"><span class="function-name">fontgate.fgContour.getNode</span></a> = getNode<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">fgNode getNode(int nodeIndex) - get node by index</pre>

</dd></dl>



<a name="fontgate.fgContour.getNodes"></a>

## `getNodes`


<dl class="function"><dt><a name="-fontgate.fgContour.getNodes" href="#-fontgate.fgContour.getNodes"><span class="function-name">fontgate.fgContour.getNodes</span></a> = getNodes<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">[ fgNode ] getNodes() - get list of fgNode objects</pre>

</dd></dl>



<a name="fontgate.fgContour.getUFONodesList"></a>

## `getUFONodesList`


<dl class="function"><dt><a name="-fontgate.fgContour.getUFONodesList" href="#-fontgate.fgContour.getUFONodesList"><span class="function-name">fontgate.fgContour.getUFONodesList</span></a> = getUFONodesList<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">[ ((x, y), 'nodetype', bool smooth, 'name') ] getUFONodesList() -get list of contour nodes as UFO-style tuples</pre>

</dd></dl>



<a name="fontgate.fgContour.insertNode"></a>

## `insertNode`


<dl class="function"><dt><a name="-fontgate.fgContour.insertNode" href="#-fontgate.fgContour.insertNode"><span class="function-name">fontgate.fgContour.insertNode</span></a> = insertNode<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">insertNode(fgNode, int insertTo) - insert node into position insertTo</pre>

</dd></dl>



<a name="fontgate.fgContour.isCompatible"></a>

## `isCompatible`


<dl class="function"><dt><a name="-fontgate.fgContour.isCompatible" href="#-fontgate.fgContour.isCompatible"><span class="function-name">fontgate.fgContour.isCompatible</span></a> = isCompatible<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">bool isCompatible(fgContour)</pre>

</dd></dl>



<a name="fontgate.fgContour.length"></a>

## `length`


<dl class="function"><dt><a name="-fontgate.fgContour.length" href="#-fontgate.fgContour.length"><span class="function-name">fontgate.fgContour.length</span></a> = length<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">int length() - get count of nodes</pre>

</dd></dl>



<a name="fontgate.fgContour.midPoint"></a>

## `midPoint`


<dl class="function"><dt><a name="-fontgate.fgContour.midPoint" href="#-fontgate.fgContour.midPoint"><span class="function-name">fontgate.fgContour.midPoint</span></a> = midPoint<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">fgPoint midPoint()</pre>

</dd></dl>



<a name="fontgate.fgContour.name"></a>

## `name`


<dl class="descriptor"><dt>fontgate.fgContour.name</dt>
<dd>

<pre class="doc" markdown="0">(string) name of contour</pre>

</dd>
</dl>



<a name="fontgate.fgContour.nodes"></a>

## `nodes`


<dl class="descriptor"><dt>fontgate.fgContour.nodes</dt>
<dd>

<pre class="doc" markdown="0">([fgNode]) contour nodes</pre>

</dd>
</dl>



<a name="fontgate.fgContour.open"></a>

## `open`


<dl class="descriptor"><dt>fontgate.fgContour.open</dt>
<dd>

<pre class="doc" markdown="0">(bool) open flag</pre>

</dd>
</dl>



<a name="fontgate.fgContour.reverse"></a>

## `reverse`


<dl class="function"><dt><a name="-fontgate.fgContour.reverse" href="#-fontgate.fgContour.reverse"><span class="function-name">fontgate.fgContour.reverse</span></a> = reverse<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">reverse() - reverse order of contour nodes</pre>

</dd></dl>



<a name="fontgate.fgContour.toCurves"></a>

## `toCurves`


<dl class="function"><dt><a name="-fontgate.fgContour.toCurves" href="#-fontgate.fgContour.toCurves"><span class="function-name">fontgate.fgContour.toCurves</span></a> = toCurves<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">toCurves([tolerance = 5.])</pre>

</dd></dl>



<a name="fontgate.fgContour.toShortSplines"></a>

## `toShortSplines`


<dl class="function"><dt><a name="-fontgate.fgContour.toShortSplines" href="#-fontgate.fgContour.toShortSplines"><span class="function-name">fontgate.fgContour.toShortSplines</span></a> = toShortSplines<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">toShortSplines([tolerance = 5.[, bool short_splines = true]])</pre>

</dd></dl>



<a name="fontgate.fgContour.transform"></a>

## `transform`


<dl class="function"><dt><a name="-fontgate.fgContour.transform" href="#-fontgate.fgContour.transform"><span class="function-name">fontgate.fgContour.transform</span></a> = transform<span class="argspec">(...)</span></dt><dd>

<pre class="doc" markdown="0">fgContour transform(fgMatrix)</pre>

</dd></dl>

