<!DOCTYPE html><htmlclass="default no-js"><head><metacharSet="utf-8"/><metahttp-equiv="X-UA-Compatible"content="IE=edge"/><title>DrawOptions | @vladmandic/human - v2.2.2</title><metaname="description"content="Documentation for @vladmandic/human - v2.2.2"/><metaname="viewport"content="width=device-width, initial-scale=1"/><linkrel="stylesheet"href="../assets/style.css"/><linkrel="stylesheet"href="../assets/highlight.css"/><scriptasyncsrc="../assets/search.js"id="search-script"></script></head><body><header><divclass="tsd-page-toolbar"><divclass="container"><divclass="table-wrap"><divclass="table-cell"id="tsd-search"data-base=".."><divclass="field"><labelfor="tsd-search-field"class="tsd-widget search no-caption">Search</label><inputtype="text"id="tsd-search-field"/></div><ulclass="results"><liclass="state loading">Preparing search index...</li><liclass="state failure">The search index is not available</li></ul><ahref="../index.html"class="title">@vladmandic/human - v2.2.2</a></div><divclass="table-cell"id="tsd-widgets"><divid="tsd-filter"><ahref="#"class="tsd-widget options no-caption"data-toggle="options">Options</a><divclass="tsd-filter-group"><divclass="tsd-select"id="tsd-filter-visibility"><spanclass="tsd-select-label">All</span><ulclass="tsd-select-list"><lidata-value="public">Public</li><lidata-value="protected">Public/Protected</li><lidata-value="private"class="selected">All</li></ul></div><inputtype="checkbox"id="tsd-filter-inherited"checked/><labelclass="tsd-widget"for="tsd-filter-inherited">Inherited</label></div></div><ahref="#"class="tsd-widget menu no-caption"data-toggle="menu">Menu</a></div></div></div></div><divclass="tsd-page-title"><divclass="container"><ulclass="tsd-breadcrumb"><li><ahref="../index.html">@vladmandic/human - v2.2.2</a></li><li><ahref="DrawOptions.html">DrawOptions</a></li></ul><h1>Interface DrawOptions</h1></div></div></header><divclass="container container-main"><divclass="row"><divclass="col-8 col-content"><sectionclass="tsd-panel tsd-comment"><divclass="tsd-comment tsd-typography"><divclass="lead">
<p>Draw Options
Accessed via <code>human.draw.options</code> or provided per each draw method as the drawOptions optional parameter
-color: draw color
-labelColor: color for labels
-shadowColor: optional shadow color for labels
-font: font for labels
-lineHeight: line height for labels, used for multi-line labels,
-lineWidth: width of any lines,
-pointSize: size of any point,
-roundRect: for boxes, round corners by this many pixels,
-drawPoints: should points be drawn,
-drawLabels: should labels be drawn,
-drawBoxes: should boxes be drawn,
-drawPolygons: should polygons be drawn,
-fillPolygons: should drawn polygons be filled,
-useDepth: use z-axis coordinate as color shade,
-useCurves: draw polygons as cures or as lines,
-bufferedOutput: experimental: allows to call draw methods multiple times for each detection and interpolate results between results thus achieving smoother animations</p>