<div class="header-panel member">
<h2><span class="identifier">PdfFont</span> Class</h2>
<dl class="dl-horizontal">
<dt>File</dt><dd class="filename">wijmo.pdf.js</dd>
<dt>Module</dt><dd><a href="topic/wijmo.pdf.Module.html"><span class="identifier">wijmo.pdf</span></a></dd>
</dl>
<div class="comment"><p>Represents a font.</p></div>
</div>
<div class="member-panel class members" ng-class="{ 'show-inherited' : ctx.showInherited, 'show-raisers' : ctx.showRaisers }">
<h3 class="node">Constructor</h3>
<ul>
<li class="mmethod"><a href="topic/wijmo.pdf.PdfFont.Class.html/#constructor">constructor</a></li>
</ul>
<h3 class="node">Properties</h3>
<ul>
<li class="mproperty"><a href="topic/wijmo.pdf.PdfFont.Class.html/#family">family</a></li>
<li class="mproperty"><a href="topic/wijmo.pdf.PdfFont.Class.html/#size">size</a></li>
<li class="mproperty"><a href="topic/wijmo.pdf.PdfFont.Class.html/#style">style</a></li>
<li class="mproperty"><a href="topic/wijmo.pdf.PdfFont.Class.html/#weight">weight</a></li>
</ul>
<h3 class="node">Methods</h3>
<ul>
<li class="mmethod"><a href="topic/wijmo.pdf.PdfFont.Class.html/#clone">clone</a></li>
<li class="mmethod"><a href="topic/wijmo.pdf.PdfFont.Class.html/#equals">equals</a></li>
</ul>
</div>
<h3>Constructor</h3>
<div id="constructor" class="member-panel mmethod">
<h3>constructor</h3>
<pre>constructor(family?: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</span></a>, size?: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>, style?: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</span></a>, weight?: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</span></a>): <a href="topic/wijmo.pdf.PdfFont.Class.html"><span class="identifier">PdfFont</span></a></pre>
<div class="comment"><p>Initializes a new instance of the <a href="topic/wijmo.pdf.PdfFont.Class.html"><span class="identifier">PdfFont</span></a> class.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>family</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</span></a> <span class="badge">Optional</span><br/><p>The family name of the font.</p></li><li><b>size</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a> <span class="badge">Optional</span><br/><p>The size of the font.</p></li><li><b>style</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</span></a> <span class="badge">Optional</span><br/><p>The style of the font.</p></li><li><b>weight</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</span></a> <span class="badge">Optional</span><br/><p>The weight of the font.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Returns</dt><dd><a href="topic/wijmo.pdf.PdfFont.Class.html"><span class="identifier">PdfFont</span></a></dd>
</dl>
</div>
<h3 class="node">Properties</h3>
<div class="member-list" ng-class="{ 'show-inherited' : ctx.showInherited, 'show-raisers' : ctx.showRaisers }">
<div id="family" class="member-panel mproperty">
<h3>family</h3>
<div class="comment"><p>Gets or sets the family name of the font.</p>
<p>The list of the font family names in the order of preferences,
separated by commas. Each font family name can be the one that
was registered using the <a href="topic/wijmo.pdf.PdfDocument.Class.html/#registerFont"><span class="identifier">registerFont</span></a> method or
the name of one of the PDF standard font families: 'courier',
'helvetica', 'symbol', 'times', 'zapfdingbats' or the superfamily
name: 'cursive', 'fantasy', 'monospace', 'serif', 'sans-serif'.</p></div>
<dl class="dl-horizontal">
  <dt>Type</dt><dd><a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</span></a></dd>
</dl>
</div>
<div id="size" class="member-panel mproperty">
<h3>size</h3>
<div class="comment"><p>Gets or sets the size of the font.</p></div>
<dl class="dl-horizontal">
  <dt>Type</dt><dd><a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a></dd>
</dl>
</div>
<div id="style" class="member-panel mproperty">
<h3>style</h3>
<div class="comment"><p>Gets or sets the style of the font.</p>
<p>The following values are supported: 'normal', 'italic', 'oblique'.</p></div>
<dl class="dl-horizontal">
  <dt>Type</dt><dd><a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</span></a></dd>
</dl>
</div>
<div id="weight" class="member-panel mproperty">
<h3>weight</h3>
<div class="comment"><p>Gets or sets the weight of the font.</p>
<p>The following values are supported: 'normal', 'bold', '100', '200', '300',
'400', '500', '600', '700', '800', '900'.</p></div>
<dl class="dl-horizontal">
  <dt>Type</dt><dd><a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</span></a></dd>
</dl>
</div>
</div>
<h3 class="node">Methods</h3>
<div class="member-list" ng-class="{ 'show-inherited' : ctx.showInherited, 'show-raisers' : ctx.showRaisers }">
<div id="clone" class="member-panel mmethod">
<h3>clone</h3>
<pre>clone(): <a href="topic/wijmo.pdf.PdfFont.Class.html"><span class="identifier">PdfFont</span></a></pre>
<div class="comment"><p>Creates a copy of this <a href="topic/wijmo.pdf.PdfFont.Class.html"><span class="identifier">PdfFont</span></a>.</p></div>
<dl class="dl-horizontal">
  <dt>Returns</dt><dd><a href="topic/wijmo.pdf.PdfFont.Class.html"><span class="identifier">PdfFont</span></a></dd>
</dl>
</div>
<div id="equals" class="member-panel mmethod">
<h3>equals</h3>
<pre>equals(value: <a href="topic/wijmo.pdf.PdfFont.Class.html"><span class="identifier">PdfFont</span></a>): <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Boolean" target="_blank"><span class="identifier">boolean</span></a></pre>
<div class="comment"><p>Determines whether the specified <a href="topic/wijmo.pdf.PdfFont.Class.html"><span class="identifier">PdfFont</span></a> instance is equal to the current one.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>value</b>: <a href="topic/wijmo.pdf.PdfFont.Class.html"><span class="identifier">PdfFont</span></a><br/><p><a href="topic/wijmo.pdf.PdfFont.Class.html"><span class="identifier">PdfFont</span></a> to compare.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Returns</dt><dd><a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Boolean" target="_blank"><span class="identifier">boolean</span></a></dd>
</dl>
</div>
</div>
