# PdfPaths Class

## Content

<div class="content__tsd">
						<div style="display:flex;justify-content:space-between;align-items:center">
							<h1>
								PdfPaths Class
							</h1>
						</div>
						<section class="tsd-comment">
							<div class="tsd-comment">
								<div class="lead">
									<p>Provides methods for creating graphics paths and drawing them or using them for clipping.</p>
								</div>
								<p>Path creation method calls must be finished with the <a href="wijmo_pdf.pdfpaths.html#stroke">PdfPaths.stroke</a>,
									<a href="wijmo_pdf.pdfpaths.html#fill">PdfPaths.fill</a>, <a href="wijmo_pdf.pdfpaths.html#fillandstroke">PdfPaths.fillAndStroke</a> or <a href="wijmo_pdf.pdfpaths.html#clip">PdfPaths.clip</a> method.
									Any document methods which don't apply directly to path creation/ drawing/ clipping
									(changing a pen, drawing a text, saving the graphics state etc) are prohibited to use
									until the path is finished.
									The <a href="wijmo_pdf.pdfpaths.html#lineto">PdfPaths.lineTo</a>, <a href="wijmo_pdf.pdfpaths.html#beziercurveto">PdfPaths.bezierCurveTo</a> and <a href="wijmo_pdf.pdfpaths.html#quadraticcurveto">PdfPaths.quadraticCurveTo</a>
								methods should not start the path, they must be preceded with the <a href="wijmo_pdf.pdfpaths.html#moveto">PdfPaths.moveTo</a>.</p>
								<p>The methods are chainable:</p>
								<pre>doc.paths.moveTo(0, 0).lineTo(100, 100).stroke();
</pre>
								<p>This class is not intended to be instantiated in your code.</p>
							</div>
						</section>
						<section class="tsd-hierarchy">
							<h3>Heirarchy</h3>
							<ul class="tsd-hierarchy">
								<li>
									<span class="target">PdfPaths</span>
								</li>
							</ul>
						</section>
						<section class="tsd-index-group">
							<section class="tsd-index-panel">
								<div class="tsd-index-content">
									<section class="tsd-index-section ">
										<div class="title">
											<div class="gc_api_tree-item_icon_img_wrapper">
												<div class="gc_api_tree-item_icon_img" data-expand="true">
												</div>
											</div>
											<h3>
												Constructors
											</h3>
										</div>
										<ul class="tsd-index-list">
											<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="wijmo_pdf.pdfpaths.html#constructor" class="tsd-kind-icon">constructor</a></li>
										</ul>
									</section>
									<section class="tsd-index-section ">
										<div class="title">
											<div class="gc_api_tree-item_icon_img_wrapper">
												<div class="gc_api_tree-item_icon_img" data-expand="true">
												</div>
											</div>
											<h3>
												Methods
											</h3>
										</div>
										<ul class="tsd-index-list">
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpaths.html#beziercurveto" class="tsd-kind-icon">bezier<wbr>Curve<wbr>To</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpaths.html#circle" class="tsd-kind-icon">circle</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpaths.html#clip" class="tsd-kind-icon">clip</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpaths.html#closepath" class="tsd-kind-icon">close<wbr>Path</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpaths.html#ellipse" class="tsd-kind-icon">ellipse</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpaths.html#fill" class="tsd-kind-icon">fill</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpaths.html#fillandstroke" class="tsd-kind-icon">fill<wbr>And<wbr>Stroke</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpaths.html#lineto" class="tsd-kind-icon">line<wbr>To</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpaths.html#moveto" class="tsd-kind-icon">move<wbr>To</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpaths.html#polygon" class="tsd-kind-icon">polygon</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpaths.html#quadraticcurveto" class="tsd-kind-icon">quadratic<wbr>Curve<wbr>To</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpaths.html#rect" class="tsd-kind-icon">rect</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpaths.html#roundedrect" class="tsd-kind-icon">rounded<wbr>Rect</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpaths.html#stroke" class="tsd-kind-icon">stroke</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpaths.html#svgpath" class="tsd-kind-icon">svg<wbr>Path</a></li>
										</ul>
									</section>
								</div>
							</section>
						</section>
						<section class="tsd-panel-group tsd-member-group ">
							<h2>Constructors</h2>
							<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
								<a name="constructor" class="tsd-anchor"></a>
								<h3>constructor</h3>
								<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">new <wbr>Pdf<wbr>Paths<span class="tsd-signature-symbol">(</span>doc<span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfdocument.html" class="tsd-signature-type">PdfDocument</a>, offset<span class="tsd-signature-symbol">: </span><a href="wijmo.point.html" class="tsd-signature-type">Point</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Initializes a new instance of the <a href="wijmo_pdf.pdfpaths.html">PdfPaths</a> class.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>doc: <a href="wijmo_pdf.pdfdocument.html" class="tsd-signature-type">PdfDocument</a></h5>
												<div class="tsd-comment">
													<div class="lead">
														<p>Document.</p>
													</div>
												</div>
											</li>
											<li>
												<h5>offset: <a href="wijmo.point.html" class="tsd-signature-type">Point</a></h5>
												<div class="tsd-comment">
													<div class="lead">
														<p>Offset.</p>
													</div>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></h4>
									</li>
								</ul>
							</section>
						</section>
						<section class="tsd-panel-group tsd-member-group ">
							<h2>Methods</h2>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="beziercurveto" class="tsd-anchor"></a>
								<h3>bezierCurveTo</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">bezier<wbr>Curve<wbr>To<span class="tsd-signature-symbol">(</span>cp1x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, cp1y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, cp2x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, cp2y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Draws a bezier curve from the current point to a new point using the (cp1x, cp1y)
												and (cp2x, cp2y) as the control points.</p>
											</div>
											<p>The new current point is (x, y).</p>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>cp1x: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The X-coordinate of the first control point, in points.</p>
												</div>
											</li>
											<li>
												<h5>cp1y: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The Y-coordinate of the first control point, in points.</p>
												</div>
											</li>
											<li>
												<h5>cp2x: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The X-coordinate of the second control point, in points.</p>
												</div>
											</li>
											<li>
												<h5>cp2y: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The Y-coordinate of the second control point, in points.</p>
												</div>
											</li>
											<li>
												<h5>x: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The X-coordinate of the new point, in points.</p>
												</div>
											</li>
											<li>
												<h5>y: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The Y-coordinate of the new point, in points.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></h4>
										<p>The <a href="wijmo_pdf.pdfpaths.html">PdfPaths</a> object.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="circle" class="tsd-anchor"></a>
								<h3>circle</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">circle<span class="tsd-signature-symbol">(</span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, radius<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Draws a circle.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>x: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The X-coordinate of the center of the circle, in points.</p>
												</div>
											</li>
											<li>
												<h5>y: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The Y-coordinate of the center of the circle, in points.</p>
												</div>
											</li>
											<li>
												<h5>radius: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The radius of the circle, in points.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></h4>
										<p>The <a href="wijmo_pdf.pdfpaths.html">PdfPaths</a> object.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="clip" class="tsd-anchor"></a>
								<h3>clip</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">clip<span class="tsd-signature-symbol">(</span>rule<span class="tsd-signature-symbol">?: </span><a href="../enums/wijmo_pdf.pdffillrule.html" class="tsd-signature-type">PdfFillRule</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Creates a clipping path used to limit the regions of the page affected by
												painting operators.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> rule: <a href="../enums/wijmo_pdf.pdffillrule.html" class="tsd-signature-type">PdfFillRule</a></h5>
												<div class="tsd-comment">
													<p>The fill rule to use.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></h4>
										<p>The <a href="wijmo_pdf.pdfpaths.html">PdfPaths</a> object.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="closepath" class="tsd-anchor"></a>
								<h3>closePath</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">close<wbr>Path<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Closes the current path and draws a line from the current point to the initial
												point of the current path.</p>
											</div>
										</div>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></h4>
										<p>The <a href="wijmo_pdf.pdfpaths.html">PdfPaths</a> object.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="ellipse" class="tsd-anchor"></a>
								<h3>ellipse</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">ellipse<span class="tsd-signature-symbol">(</span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, radiusX<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, radiusY<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Draws an ellipse.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>x: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The X-coordinate of the center of the ellipse, in points.</p>
												</div>
											</li>
											<li>
												<h5>y: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The Y-coordinate of the center of the ellipse, in points.</p>
												</div>
											</li>
											<li>
												<h5>radiusX: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The radius of the ellipse along the X-axis, in points.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> radiusY: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The radius of the ellipse along the Y-axis, in points.
													If it is not provided, then it is assumed to be equal to radiusX.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></h4>
										<p>The <a href="wijmo_pdf.pdfpaths.html">PdfPaths</a> object.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="fill" class="tsd-anchor"></a>
								<h3>fill</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">fill<span class="tsd-signature-symbol">(</span>brush<span class="tsd-signature-symbol">?: </span><a href="wijmo_pdf.pdfbrush.html" class="tsd-signature-type">PdfBrush</a><span class="tsd-signature-symbol"> | </span><a href="wijmo.color.html" class="tsd-signature-type">Color</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span>, rule<span class="tsd-signature-symbol">?: </span><a href="../enums/wijmo_pdf.pdffillrule.html" class="tsd-signature-type">PdfFillRule</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Fills the path with the specified brush and rule.
													If brush is not specified, then the default document brush will be used
												(see the <a href="wijmo_pdf.pdfdocument.html#setbrush">PdfDocument.setBrush</a> method).</p>
											</div>
											<p>The brush argument can accept the following values:</p>
											<ul>
												<li>A <a href="wijmo_pdf.pdfbrush.html">PdfBrush</a> object.</li>
												<li>
													A <a href="wijmo.color.html">wijmo.Color</a> object or any string acceptable by the <a href="wijmo.color.html#fromstring">wijmo.Color.fromString</a> method.
													In this case, the <a href="wijmo_pdf.pdfbrush.html">PdfBrush</a> object with the specified color will be created internally.
												</li>
											</ul>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> brush: <a href="wijmo_pdf.pdfbrush.html" class="tsd-signature-type">PdfBrush</a><span class="tsd-signature-symbol"> | </span><a href="wijmo.color.html" class="tsd-signature-type">Color</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h5>
												<div class="tsd-comment">
													<p>The brush or color to use.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> rule: <a href="../enums/wijmo_pdf.pdffillrule.html" class="tsd-signature-type">PdfFillRule</a></h5>
												<div class="tsd-comment">
													<p>The fill rule to use.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></h4>
										<p>The <a href="wijmo_pdf.pdfpaths.html">PdfPaths</a> object.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="fillandstroke" class="tsd-anchor"></a>
								<h3>fillAndStroke</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">fill<wbr>And<wbr>Stroke<span class="tsd-signature-symbol">(</span>brush<span class="tsd-signature-symbol">?: </span><a href="wijmo_pdf.pdfbrush.html" class="tsd-signature-type">PdfBrush</a><span class="tsd-signature-symbol"> | </span><a href="wijmo.color.html" class="tsd-signature-type">Color</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span>, pen<span class="tsd-signature-symbol">?: </span><a href="wijmo_pdf.pdfpen.html" class="tsd-signature-type">PdfPen</a><span class="tsd-signature-symbol"> | </span><a href="wijmo.color.html" class="tsd-signature-type">Color</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span>, rule<span class="tsd-signature-symbol">?: </span><a href="../enums/wijmo_pdf.pdffillrule.html" class="tsd-signature-type">PdfFillRule</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Fills and strokes the path with the specified brush, pen and rule.
													If brush and pen is not specified, then the default document brush and pen will
												be used (See the <a href="wijmo_pdf.pdfdocument.html#setbrush">PdfDocument.setBrush</a>, <a href="wijmo_pdf.pdfdocument.html#setpen">PdfDocument.setPen</a> methods).</p>
											</div>
											<p>The brush argument can accept the following values:</p>
											<ul>
												<li>A <a href="wijmo_pdf.pdfbrush.html">PdfBrush</a> object.</li>
												<li>
													A <a href="wijmo.color.html">wijmo.Color</a> object or any string acceptable by the <a href="wijmo.color.html#fromstring">wijmo.Color.fromString</a> method.
													In this case, the <a href="wijmo_pdf.pdfbrush.html">PdfBrush</a> object with the specified color will be created internally.
												</li>
											</ul>
											<p>The pen argument can accept the following values:</p>
											<ul>
												<li>A <a href="wijmo_pdf.pdfpen.html">PdfPen</a> object.</li>
												<li>
													A <a href="wijmo.color.html">wijmo.Color</a> object or any string acceptable by the <a href="wijmo.color.html#fromstring">wijmo.Color.fromString</a> method.
													In this case, the <a href="wijmo_pdf.pdfpen.html">PdfPen</a> object with the specified color will be created internally.
												</li>
											</ul>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> brush: <a href="wijmo_pdf.pdfbrush.html" class="tsd-signature-type">PdfBrush</a><span class="tsd-signature-symbol"> | </span><a href="wijmo.color.html" class="tsd-signature-type">Color</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h5>
												<div class="tsd-comment">
													<p>The brush or color to use.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> pen: <a href="wijmo_pdf.pdfpen.html" class="tsd-signature-type">PdfPen</a><span class="tsd-signature-symbol"> | </span><a href="wijmo.color.html" class="tsd-signature-type">Color</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h5>
												<div class="tsd-comment">
													<p>The pen or color to use.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> rule: <a href="../enums/wijmo_pdf.pdffillrule.html" class="tsd-signature-type">PdfFillRule</a></h5>
												<div class="tsd-comment">
													<p>The fill rule to use.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></h4>
										<p>The <a href="wijmo_pdf.pdfpaths.html">PdfPaths</a> object.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="lineto" class="tsd-anchor"></a>
								<h3>lineTo</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">line<wbr>To<span class="tsd-signature-symbol">(</span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Draws a line from the current point to a new point.</p>
											</div>
											<p>The new current point is (x, y).</p>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>x: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The X-coordinate of the new point, in points.</p>
												</div>
											</li>
											<li>
												<h5>y: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The Y-coordinate of the new point, in points.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></h4>
										<p>The <a href="wijmo_pdf.pdfpaths.html">PdfPaths</a> object.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="moveto" class="tsd-anchor"></a>
								<h3>moveTo</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">move<wbr>To<span class="tsd-signature-symbol">(</span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Sets a new current point.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>x: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The X-coordinate of the new point, in points.</p>
												</div>
											</li>
											<li>
												<h5>y: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The Y-coordinate of the new point, in points.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></h4>
										<p>The <a href="wijmo_pdf.pdfpaths.html">PdfPaths</a> object.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="polygon" class="tsd-anchor"></a>
								<h3>polygon</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">polygon<span class="tsd-signature-symbol">(</span>points<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Draws a polygon using a given points array.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>points: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></h5>
												<div class="tsd-comment">
													<p>An array of two-elements arrays [x, y] specifying
													the X and Y coordinates of the point, in points.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></h4>
										<p>The <a href="wijmo_pdf.pdfpaths.html">PdfPaths</a> object.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="quadraticcurveto" class="tsd-anchor"></a>
								<h3>quadraticCurveTo</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">quadratic<wbr>Curve<wbr>To<span class="tsd-signature-symbol">(</span>cpx<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, cpy<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Draws a quadratic curve from the current point to a new point using the current point
												and (cpx, cpy) as the control points.</p>
											</div>
											<p>The new current point is (x, y).</p>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>cpx: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The X-coordinate of the control point, in points.</p>
												</div>
											</li>
											<li>
												<h5>cpy: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The Y-coordinate of the control point, in points.</p>
												</div>
											</li>
											<li>
												<h5>x: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The X-coordinate of the new point, in points.</p>
												</div>
											</li>
											<li>
												<h5>y: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The Y-coordinate of the new point, in points.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></h4>
										<p>The <a href="wijmo_pdf.pdfpaths.html">PdfPaths</a> object.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="rect" class="tsd-anchor"></a>
								<h3>rect</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">rect<span class="tsd-signature-symbol">(</span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, width<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, height<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Draws a rectangle.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>x: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The X-coordinate of the topleft corner of the rectangle, in points.</p>
												</div>
											</li>
											<li>
												<h5>y: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The Y-coordinate of the topleft corner of the rectangle, in points.</p>
												</div>
											</li>
											<li>
												<h5>width: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The width of the rectangle, in points.</p>
												</div>
											</li>
											<li>
												<h5>height: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The width of the rectangle, in points.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></h4>
										<p>The <a href="wijmo_pdf.pdfpaths.html">PdfPaths</a> object.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="roundedrect" class="tsd-anchor"></a>
								<h3>roundedRect</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">rounded<wbr>Rect<span class="tsd-signature-symbol">(</span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, width<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, height<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, cornerRadius<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Draws a rounded rectangle.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>x: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The X-coordinate of the upper-left corner of the rectangle, in points.</p>
												</div>
											</li>
											<li>
												<h5>y: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The Y-coordinate of the upper-left corner of the rectangle, in points.</p>
												</div>
											</li>
											<li>
												<h5>width: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The width of the rectangle, in points.</p>
												</div>
											</li>
											<li>
												<h5>height: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The width of the rectangle, in points.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> cornerRadius: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The corner radius of the rectangle, in points. The default value is 0.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></h4>
										<p>The <a href="wijmo_pdf.pdfpaths.html">PdfPaths</a> object.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="stroke" class="tsd-anchor"></a>
								<h3>stroke</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">stroke<span class="tsd-signature-symbol">(</span>pen<span class="tsd-signature-symbol">?: </span><a href="wijmo_pdf.pdfpen.html" class="tsd-signature-type">PdfPen</a><span class="tsd-signature-symbol"> | </span><a href="wijmo.color.html" class="tsd-signature-type">Color</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Strokes the path with the specified pen.
													If pen is not specified, then the default document pen will be used
												(See the <a href="wijmo_pdf.pdfdocument.html#setpen">PdfDocument.setPen</a> method).</p>
											</div>
											<p>The pen argument can accept the following values:</p>
											<ul>
												<li>A <a href="wijmo_pdf.pdfpen.html">PdfPen</a> object.</li>
												<li>
													A <a href="wijmo.color.html">wijmo.Color</a> object or any string acceptable by the <a href="wijmo.color.html#fromstring">wijmo.Color.fromString</a> method.
													In this case, the <a href="wijmo_pdf.pdfpen.html">PdfPen</a> object with the specified color will be created internally.
												</li>
											</ul>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> pen: <a href="wijmo_pdf.pdfpen.html" class="tsd-signature-type">PdfPen</a><span class="tsd-signature-symbol"> | </span><a href="wijmo.color.html" class="tsd-signature-type">Color</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h5>
												<div class="tsd-comment">
													<p>The pen or color to use.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></h4>
										<p>The <a href="wijmo_pdf.pdfpaths.html">PdfPaths</a> object.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="svgpath" class="tsd-anchor"></a>
								<h3>svgPath</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">svg<wbr>Path<span class="tsd-signature-symbol">(</span>path<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Draws a SVG 1.1 path.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>path: <span class="tsd-signature-type">string</span></h5>
												<div class="tsd-comment">
													<p>The SVG path to draw.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></h4>
										<p>The <a href="wijmo_pdf.pdfpaths.html">PdfPaths</a> object.</p>
									</li>
								</ul>
							</section>
						</section>
					</div>