Skip to content

Commit 768d925

Browse files
committed
Add initial generated docs
1 parent 5a5f4b6 commit 768d925

32 files changed

Lines changed: 21305 additions & 1327 deletions

docs/FontObject.html

Lines changed: 273 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,273 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>FontObject - Documentation</title>
6+
7+
<script src="scripts/prettify/prettify.js"></script>
8+
<script src="scripts/prettify/lang-css.js"></script>
9+
<!--[if lt IE 9]>
10+
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11+
<![endif]-->
12+
<link type="text/css" rel="stylesheet" href="styles/prettify.css">
13+
<link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
14+
</head>
15+
<body>
16+
17+
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
18+
<label for="nav-trigger" class="navicon-button x">
19+
<div class="navicon"></div>
20+
</label>
21+
22+
<label for="nav-trigger" class="overlay"></label>
23+
24+
<nav>
25+
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="FontObject.html">FontObject</a></li><li><a href="jsPDF.html">jsPDF</a></li><li><a href="PubSub.html">PubSub</a></li></ul><h3>Global</h3><ul><li><a href="global.html#addFont">addFont</a></li><li><a href="global.html#addMetadata">addMetadata</a></li><li><a href="global.html#addPage">addPage</a></li><li><a href="global.html#CapJoinStyles">CapJoinStyles</a></li><li><a href="global.html#circle">circle</a></li><li><a href="global.html#CssColors">CssColors</a></li><li><a href="global.html#ellipse">ellipse</a></li><li><a href="global.html#getFontList">getFontList</a></li><li><a href="global.html#html2pdf">html2pdf</a></li><li><a href="global.html#lines">lines</a></li><li><a href="global.html#output">output</a></li><li><a href="global.html#rect">rect</a></li><li><a href="global.html#requirejs">requirejs</a></li><li><a href="global.html#reset">reset</a></li><li><a href="global.html#roundedRect">roundedRect</a></li><li><a href="global.html#save">save</a></li><li><a href="global.html#setDrawColor">setDrawColor</a></li><li><a href="global.html#setFillColor">setFillColor</a></li><li><a href="global.html#setFont">setFont</a></li><li><a href="global.html#setFontSize">setFontSize</a></li><li><a href="global.html#setFontStyle">setFontStyle</a></li><li><a href="global.html#setLineCap">setLineCap</a></li><li><a href="global.html#setLineJoin">setLineJoin</a></li><li><a href="global.html#setLineWidth">setLineWidth</a></li><li><a href="global.html#setProperties">setProperties</a></li><li><a href="global.html#setTextColor">setTextColor</a></li><li><a href="global.html#text">text</a></li><li><a href="global.html#toUrl">toUrl</a></li><li><a href="global.html#triangle">triangle</a></li><li><a href="global.html#triggerEvent">triggerEvent</a></li></ul>
26+
</nav>
27+
28+
<div id="main">
29+
30+
<h1 class="page-title">FontObject</h1>
31+
32+
33+
34+
35+
36+
37+
38+
<section>
39+
40+
<header>
41+
42+
<h2>
43+
FontObject
44+
</h2>
45+
46+
47+
</header>
48+
49+
<article>
50+
<div class="container-overview">
51+
52+
53+
54+
55+
56+
<h4 class="name" id="FontObject"><span class="type-signature"></span>new FontObject<span class="signature">()</span><span class="type-signature"></span></h4>
57+
58+
59+
60+
61+
62+
63+
<dl class="details">
64+
65+
66+
<dt class="tag-source">Source:</dt>
67+
<dd class="tag-source"><ul class="dummy"><li>
68+
<a href="jspdf.js.html">jspdf.js</a>, <a href="jspdf.js.html#line393">line 393</a>
69+
</li></ul></dd>
70+
71+
72+
73+
74+
75+
76+
77+
78+
79+
80+
81+
82+
83+
84+
85+
86+
87+
88+
89+
90+
91+
92+
93+
94+
95+
96+
97+
98+
99+
100+
101+
</dl>
102+
103+
104+
105+
<h5 class="subsection-title">Properties:</h5>
106+
107+
108+
109+
<table class="props">
110+
<thead>
111+
<tr>
112+
113+
<th>Name</th>
114+
115+
116+
<th>Type</th>
117+
118+
119+
120+
121+
122+
<th class="last">Description</th>
123+
</tr>
124+
</thead>
125+
126+
<tbody>
127+
128+
129+
<tr>
130+
131+
<td class="name"><code>id</code></td>
132+
133+
134+
<td class="type">
135+
136+
137+
<span class="param-type">String</span>
138+
139+
140+
141+
</td>
142+
143+
144+
145+
146+
147+
<td class="description last"><p>PDF-document-instance-specific label assinged to the font.</p></td>
148+
</tr>
149+
150+
151+
152+
<tr>
153+
154+
<td class="name"><code>PostScriptName</code></td>
155+
156+
157+
<td class="type">
158+
159+
160+
<span class="param-type">String</span>
161+
162+
163+
164+
</td>
165+
166+
167+
168+
169+
170+
<td class="description last"><p>PDF specification full name for the font</p></td>
171+
</tr>
172+
173+
174+
175+
<tr>
176+
177+
<td class="name"><code>encoding</code></td>
178+
179+
180+
<td class="type">
181+
182+
183+
<span class="param-type">Object</span>
184+
185+
186+
187+
</td>
188+
189+
190+
191+
192+
193+
<td class="description last"><p>Encoding_name-to-Font_metrics_object mapping.</p></td>
194+
</tr>
195+
196+
197+
</tbody>
198+
</table>
199+
200+
201+
202+
203+
204+
205+
<div class="description">
206+
<p>FontObject describes a particular font as member of an instnace of jsPDF</p>
207+
<p>It's a collection of properties like 'id' (to be used in PDF stream),
208+
'fontName' (font's family name), 'fontStyle' (font's style variant label)</p>
209+
</div>
210+
211+
212+
213+
214+
215+
216+
217+
218+
219+
220+
221+
222+
223+
224+
225+
226+
227+
228+
229+
230+
231+
232+
233+
234+
235+
236+
</div>
237+
238+
239+
240+
241+
242+
243+
244+
245+
246+
247+
248+
249+
250+
251+
252+
253+
254+
255+
</article>
256+
257+
</section>
258+
259+
260+
261+
262+
</div>
263+
264+
<br class="clear">
265+
266+
<footer>
267+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.1</a> on Mon Oct 03 2016 12:37:32 GMT+0100 (BST) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
268+
</footer>
269+
270+
<script>prettyPrint();</script>
271+
<script src="scripts/linenumber.js"></script>
272+
</body>
273+
</html>

0 commit comments

Comments
 (0)