http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dd18b3e2/content/docs/2.0.10/javadocs/org/apache/fontbox/ttf/GlyfCompositeComp.html ---------------------------------------------------------------------- diff --git a/content/docs/2.0.10/javadocs/org/apache/fontbox/ttf/GlyfCompositeComp.html b/content/docs/2.0.10/javadocs/org/apache/fontbox/ttf/GlyfCompositeComp.html new file mode 100644 index 0000000..5d0a72d --- /dev/null +++ b/content/docs/2.0.10/javadocs/org/apache/fontbox/ttf/GlyfCompositeComp.html @@ -0,0 +1,806 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>GlyfCompositeComp (PDFBox reactor 2.0.10 API)</title> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="GlyfCompositeComp (PDFBox reactor 2.0.10 API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/GlyfCompositeComp.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../org/apache/fontbox/ttf/DigitalSignatureTable.html" title="class in org.apache.fontbox.ttf"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeDescript.html" title="class in org.apache.fontbox.ttf"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/fontbox/ttf/GlyfCompositeComp.html" target="_top">Frames</a></li> +<li><a href="GlyfCompositeComp.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.fontbox.ttf</div> +<h2 title="Class GlyfCompositeComp" class="title">Class GlyfCompositeComp</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.fontbox.ttf.GlyfCompositeComp</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="typeNameLabel">GlyfCompositeComp</span> +extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> +<div class="block">This class is based on code from Apache Batik a subproject of Apache XMLGraphics. see + http://xmlgraphics.apache.org/batik/ for further details.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected static short</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#ARG_1_AND_2_ARE_WORDS">ARG_1_AND_2_ARE_WORDS</a></span></code> +<div class="block">If set, the arguments are words; otherwise, they are bytes.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected static short</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#ARGS_ARE_XY_VALUES">ARGS_ARE_XY_VALUES</a></span></code> +<div class="block">If set, the arguments are xy values; otherwise they are points.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected static short</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#MORE_COMPONENTS">MORE_COMPONENTS</a></span></code> +<div class="block">Indicates at least one more glyph after this one.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected static short</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#ROUND_XY_TO_GRID">ROUND_XY_TO_GRID</a></span></code> +<div class="block">If set, xy values are rounded to those of the closest grid lines.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected static short</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#USE_MY_METRICS">USE_MY_METRICS</a></span></code> +<div class="block">If set, this forces the aw and lsb (and rsb) for the composite to be equal to those from this original glyph.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected static short</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#WE_HAVE_A_SCALE">WE_HAVE_A_SCALE</a></span></code> +<div class="block">If set, there is a simple scale; otherwise, scale = 1.0.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected static short</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#WE_HAVE_A_TWO_BY_TWO">WE_HAVE_A_TWO_BY_TWO</a></span></code> +<div class="block">There is a 2 by2 transformation that will be used to scale the component.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected static short</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#WE_HAVE_AN_X_AND_Y_SCALE">WE_HAVE_AN_X_AND_Y_SCALE</a></span></code> +<div class="block">The x direction will use a different scale from the y direction.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected static short</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#WE_HAVE_INSTRUCTIONS">WE_HAVE_INSTRUCTIONS</a></span></code> +<div class="block">Following the last component are instructions for the composite character.</div> +</td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier</th> +<th class="colLast" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected </code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#GlyfCompositeComp-org.apache.fontbox.ttf.TTFDataStream-">GlyfCompositeComp</a></span>(org.apache.fontbox.ttf.TTFDataStream bais)</code> +<div class="block">Constructor.</div> +</td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>short</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#getArgument1--">getArgument1</a></span>()</code> +<div class="block">Returns argument 1.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>short</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#getArgument2--">getArgument2</a></span>()</code> +<div class="block">Returns argument 2.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#getFirstContour--">getFirstContour</a></span>()</code> +<div class="block">Returns the index of the first contour.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#getFirstIndex--">getFirstIndex</a></span>()</code> +<div class="block">Returns the first index.</div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>short</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#getFlags--">getFlags</a></span>()</code> +<div class="block">Returns the flags of the glyph.</div> +</td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#getGlyphIndex--">getGlyphIndex</a></span>()</code> +<div class="block">Returns the index of the first contour.</div> +</td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#getScale01--">getScale01</a></span>()</code> +<div class="block">Returns the scale-01 value.</div> +</td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#getScale10--">getScale10</a></span>()</code> +<div class="block">Returns the scale-10 value.</div> +</td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#getXScale--">getXScale</a></span>()</code> +<div class="block">Returns the x-scaling value.</div> +</td> +</tr> +<tr id="i9" class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#getXTranslate--">getXTranslate</a></span>()</code> +<div class="block">Returns the x-translation value.</div> +</td> +</tr> +<tr id="i10" class="altColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#getYScale--">getYScale</a></span>()</code> +<div class="block">Returns the y-scaling value.</div> +</td> +</tr> +<tr id="i11" class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#getYTranslate--">getYTranslate</a></span>()</code> +<div class="block">Returns the y-translation value.</div> +</td> +</tr> +<tr id="i12" class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#scaleX-int-int-">scaleX</a></span>(int x, + int y)</code> +<div class="block">Transforms an x-coordinate of a point for this component.</div> +</td> +</tr> +<tr id="i13" class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#scaleY-int-int-">scaleY</a></span>(int x, + int y)</code> +<div class="block">Transforms a y-coordinate of a point for this component.</div> +</td> +</tr> +<tr id="i14" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#setFirstContour-int-">setFirstContour</a></span>(int idx)</code> +<div class="block">Sets the index for the first contour.</div> +</td> +</tr> +<tr id="i15" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html#setFirstIndex-int-">setFirstIndex</a></span>(int idx)</code> +<div class="block">Sets the first index.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="ARG_1_AND_2_ARE_WORDS"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>ARG_1_AND_2_ARE_WORDS</h4> +<pre>protected static final short ARG_1_AND_2_ARE_WORDS</pre> +<div class="block">If set, the arguments are words; otherwise, they are bytes.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../constant-values.html#org.apache.fontbox.ttf.GlyfCompositeComp.ARG_1_AND_2_ARE_WORDS">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="ARGS_ARE_XY_VALUES"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>ARGS_ARE_XY_VALUES</h4> +<pre>protected static final short ARGS_ARE_XY_VALUES</pre> +<div class="block">If set, the arguments are xy values; otherwise they are points.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../constant-values.html#org.apache.fontbox.ttf.GlyfCompositeComp.ARGS_ARE_XY_VALUES">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="ROUND_XY_TO_GRID"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>ROUND_XY_TO_GRID</h4> +<pre>protected static final short ROUND_XY_TO_GRID</pre> +<div class="block">If set, xy values are rounded to those of the closest grid lines.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../constant-values.html#org.apache.fontbox.ttf.GlyfCompositeComp.ROUND_XY_TO_GRID">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="WE_HAVE_A_SCALE"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>WE_HAVE_A_SCALE</h4> +<pre>protected static final short WE_HAVE_A_SCALE</pre> +<div class="block">If set, there is a simple scale; otherwise, scale = 1.0.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../constant-values.html#org.apache.fontbox.ttf.GlyfCompositeComp.WE_HAVE_A_SCALE">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="MORE_COMPONENTS"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>MORE_COMPONENTS</h4> +<pre>protected static final short MORE_COMPONENTS</pre> +<div class="block">Indicates at least one more glyph after this one.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../constant-values.html#org.apache.fontbox.ttf.GlyfCompositeComp.MORE_COMPONENTS">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="WE_HAVE_AN_X_AND_Y_SCALE"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>WE_HAVE_AN_X_AND_Y_SCALE</h4> +<pre>protected static final short WE_HAVE_AN_X_AND_Y_SCALE</pre> +<div class="block">The x direction will use a different scale from the y direction.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../constant-values.html#org.apache.fontbox.ttf.GlyfCompositeComp.WE_HAVE_AN_X_AND_Y_SCALE">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="WE_HAVE_A_TWO_BY_TWO"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>WE_HAVE_A_TWO_BY_TWO</h4> +<pre>protected static final short WE_HAVE_A_TWO_BY_TWO</pre> +<div class="block">There is a 2 by2 transformation that will be used to scale the component.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../constant-values.html#org.apache.fontbox.ttf.GlyfCompositeComp.WE_HAVE_A_TWO_BY_TWO">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="WE_HAVE_INSTRUCTIONS"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>WE_HAVE_INSTRUCTIONS</h4> +<pre>protected static final short WE_HAVE_INSTRUCTIONS</pre> +<div class="block">Following the last component are instructions for the composite character.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../constant-values.html#org.apache.fontbox.ttf.GlyfCompositeComp.WE_HAVE_INSTRUCTIONS">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="USE_MY_METRICS"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>USE_MY_METRICS</h4> +<pre>protected static final short USE_MY_METRICS</pre> +<div class="block">If set, this forces the aw and lsb (and rsb) for the composite to be equal to those from this original glyph.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../constant-values.html#org.apache.fontbox.ttf.GlyfCompositeComp.USE_MY_METRICS">Constant Field Values</a></dd> +</dl> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="GlyfCompositeComp-org.apache.fontbox.ttf.TTFDataStream-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>GlyfCompositeComp</h4> +<pre>protected GlyfCompositeComp(org.apache.fontbox.ttf.TTFDataStream bais) + throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Constructor.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>bais</code> - the stream to be read</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - is thrown if something went wrong</dd> +</dl> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="setFirstIndex-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setFirstIndex</h4> +<pre>public void setFirstIndex(int idx)</pre> +<div class="block">Sets the first index.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>idx</code> - the first index</dd> +</dl> +</li> +</ul> +<a name="getFirstIndex--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFirstIndex</h4> +<pre>public int getFirstIndex()</pre> +<div class="block">Returns the first index.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the first index.</dd> +</dl> +</li> +</ul> +<a name="setFirstContour-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setFirstContour</h4> +<pre>public void setFirstContour(int idx)</pre> +<div class="block">Sets the index for the first contour.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>idx</code> - the index of the first contour</dd> +</dl> +</li> +</ul> +<a name="getFirstContour--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFirstContour</h4> +<pre>public int getFirstContour()</pre> +<div class="block">Returns the index of the first contour.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the index of the first contour.</dd> +</dl> +</li> +</ul> +<a name="getArgument1--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getArgument1</h4> +<pre>public short getArgument1()</pre> +<div class="block">Returns argument 1.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>argument 1.</dd> +</dl> +</li> +</ul> +<a name="getArgument2--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getArgument2</h4> +<pre>public short getArgument2()</pre> +<div class="block">Returns argument 2.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>argument 2.</dd> +</dl> +</li> +</ul> +<a name="getFlags--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFlags</h4> +<pre>public short getFlags()</pre> +<div class="block">Returns the flags of the glyph.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the flags.</dd> +</dl> +</li> +</ul> +<a name="getGlyphIndex--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getGlyphIndex</h4> +<pre>public int getGlyphIndex()</pre> +<div class="block">Returns the index of the first contour.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>index of the first contour.</dd> +</dl> +</li> +</ul> +<a name="getScale01--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getScale01</h4> +<pre>public double getScale01()</pre> +<div class="block">Returns the scale-01 value.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the scale-01 value.</dd> +</dl> +</li> +</ul> +<a name="getScale10--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getScale10</h4> +<pre>public double getScale10()</pre> +<div class="block">Returns the scale-10 value.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the scale-10 value.</dd> +</dl> +</li> +</ul> +<a name="getXScale--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getXScale</h4> +<pre>public double getXScale()</pre> +<div class="block">Returns the x-scaling value.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the x-scaling value.</dd> +</dl> +</li> +</ul> +<a name="getYScale--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getYScale</h4> +<pre>public double getYScale()</pre> +<div class="block">Returns the y-scaling value.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the y-scaling value.</dd> +</dl> +</li> +</ul> +<a name="getXTranslate--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getXTranslate</h4> +<pre>public int getXTranslate()</pre> +<div class="block">Returns the x-translation value.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the x-translation value.</dd> +</dl> +</li> +</ul> +<a name="getYTranslate--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getYTranslate</h4> +<pre>public int getYTranslate()</pre> +<div class="block">Returns the y-translation value.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the y-translation value.</dd> +</dl> +</li> +</ul> +<a name="scaleX-int-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>scaleX</h4> +<pre>public int scaleX(int x, + int y)</pre> +<div class="block">Transforms an x-coordinate of a point for this component.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>x</code> - The x-coordinate of the point to transform</dd> +<dd><code>y</code> - The y-coordinate of the point to transform</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The transformed x-coordinate</dd> +</dl> +</li> +</ul> +<a name="scaleY-int-int-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>scaleY</h4> +<pre>public int scaleY(int x, + int y)</pre> +<div class="block">Transforms a y-coordinate of a point for this component.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>x</code> - The x-coordinate of the point to transform</dd> +<dd><code>y</code> - The y-coordinate of the point to transform</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The transformed y-coordinate</dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/GlyfCompositeComp.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../org/apache/fontbox/ttf/DigitalSignatureTable.html" title="class in org.apache.fontbox.ttf"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeDescript.html" title="class in org.apache.fontbox.ttf"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/fontbox/ttf/GlyfCompositeComp.html" target="_top">Frames</a></li> +<li><a href="GlyfCompositeComp.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2002–2018 <a href="http://pdfbox.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html>
http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dd18b3e2/content/docs/2.0.10/javadocs/org/apache/fontbox/ttf/GlyfCompositeDescript.html ---------------------------------------------------------------------- diff --git a/content/docs/2.0.10/javadocs/org/apache/fontbox/ttf/GlyfCompositeDescript.html b/content/docs/2.0.10/javadocs/org/apache/fontbox/ttf/GlyfCompositeDescript.html new file mode 100644 index 0000000..883ce74 --- /dev/null +++ b/content/docs/2.0.10/javadocs/org/apache/fontbox/ttf/GlyfCompositeDescript.html @@ -0,0 +1,506 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>GlyfCompositeDescript (PDFBox reactor 2.0.10 API)</title> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="GlyfCompositeDescript (PDFBox reactor 2.0.10 API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/GlyfCompositeDescript.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html" title="class in org.apache.fontbox.ttf"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html" title="class in org.apache.fontbox.ttf"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/fontbox/ttf/GlyfCompositeDescript.html" target="_top">Frames</a></li> +<li><a href="GlyfCompositeDescript.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#fields.inherited.from.class.org.apache.fontbox.ttf.GlyfDescript">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.fontbox.ttf</div> +<h2 title="Class GlyfCompositeDescript" class="title">Class GlyfCompositeDescript</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li> +<ul class="inheritance"> +<li><a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html" title="class in org.apache.fontbox.ttf">org.apache.fontbox.ttf.GlyfDescript</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.fontbox.ttf.GlyfCompositeDescript</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="../../../../org/apache/fontbox/ttf/GlyphDescription.html" title="interface in org.apache.fontbox.ttf">GlyphDescription</a></dd> +</dl> +<hr> +<br> +<pre>public class <span class="typeNameLabel">GlyfCompositeDescript</span> +extends <a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html" title="class in org.apache.fontbox.ttf">GlyfDescript</a></pre> +<div class="block">Glyph description for composite glyphs. Composite glyphs are made up of one + or more simple glyphs, usually with some sort of transformation applied to + each. + + This class is based on code from Apache Batik a subproject of Apache + XMLGraphics. see http://xmlgraphics.apache.org/batik/ for further details.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="fields.inherited.from.class.org.apache.fontbox.ttf.GlyfDescript"> +<!-- --> +</a> +<h3>Fields inherited from class org.apache.fontbox.ttf.<a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html" title="class in org.apache.fontbox.ttf">GlyfDescript</a></h3> +<code><a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html#ON_CURVE">ON_CURVE</a>, <a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html#REPEAT">REPEAT</a>, <a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html#X_DUAL">X_DUAL</a>, <a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html#X_SHORT_VECTOR">X_SHORT_VECTOR</a>, <a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html#Y_DUAL">Y_DUAL</a>, <a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html#Y_SHORT_VECTOR">Y_SHORT_VECTOR</a></code></li> +</ul> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeDescript.html#GlyfCompositeDescript-org.apache.fontbox.ttf.TTFDataStream-org.apache.fontbox.ttf.GlyphTable-">GlyfCompositeDescript</a></span>(org.apache.fontbox.ttf.TTFDataStream bais, + <a href="../../../../org/apache/fontbox/ttf/GlyphTable.html" title="class in org.apache.fontbox.ttf">GlyphTable</a> glyphTable)</code> +<div class="block">Constructor.</div> +</td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeDescript.html#getComponentCount--">getComponentCount</a></span>()</code> +<div class="block">Get number of components.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeDescript.html#getContourCount--">getContourCount</a></span>()</code> +<div class="block">Returns the number of contours.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeDescript.html#getEndPtOfContours-int-">getEndPtOfContours</a></span>(int i)</code> +<div class="block">Returns the index of the ending point of the given contour.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>byte</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeDescript.html#getFlags-int-">getFlags</a></span>(int i)</code> +<div class="block">Returns the flags of the given point.</div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeDescript.html#getPointCount--">getPointCount</a></span>()</code> +<div class="block">Returns the number of points.</div> +</td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code>short</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeDescript.html#getXCoordinate-int-">getXCoordinate</a></span>(int i)</code> +<div class="block">Returns the x coordinate of the given point.</div> +</td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code>short</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeDescript.html#getYCoordinate-int-">getYCoordinate</a></span>(int i)</code> +<div class="block">Returns the y coordinate of the given point.</div> +</td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeDescript.html#isComposite--">isComposite</a></span>()</code> +<div class="block">Returns whether this point is a composite or not.</div> +</td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeDescript.html#resolve--">resolve</a></span>()</code> +<div class="block">Resolve all parts of an composite glyph.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.org.apache.fontbox.ttf.GlyfDescript"> +<!-- --> +</a> +<h3>Methods inherited from class org.apache.fontbox.ttf.<a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html" title="class in org.apache.fontbox.ttf">GlyfDescript</a></h3> +<code><a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html#getInstructions--">getInstructions</a>, <a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html#readInstructions-org.apache.fontbox.ttf.TTFDataStream-int-">readInstructions</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="GlyfCompositeDescript-org.apache.fontbox.ttf.TTFDataStream-org.apache.fontbox.ttf.GlyphTable-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>GlyfCompositeDescript</h4> +<pre>public GlyfCompositeDescript(org.apache.fontbox.ttf.TTFDataStream bais, + <a href="../../../../org/apache/fontbox/ttf/GlyphTable.html" title="class in org.apache.fontbox.ttf">GlyphTable</a> glyphTable) + throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Constructor.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>bais</code> - the stream to be read</dd> +<dd><code>glyphTable</code> - the Glyphtable containing all glyphs</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - is thrown if something went wrong</dd> +</dl> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="resolve--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>resolve</h4> +<pre>public void resolve()</pre> +<div class="block">Resolve all parts of an composite glyph.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../org/apache/fontbox/ttf/GlyphDescription.html#resolve--">resolve</a></code> in interface <code><a href="../../../../org/apache/fontbox/ttf/GlyphDescription.html" title="interface in org.apache.fontbox.ttf">GlyphDescription</a></code></dd> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html#resolve--">resolve</a></code> in class <code><a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html" title="class in org.apache.fontbox.ttf">GlyfDescript</a></code></dd> +</dl> +</li> +</ul> +<a name="getEndPtOfContours-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getEndPtOfContours</h4> +<pre>public int getEndPtOfContours(int i)</pre> +<div class="block">Returns the index of the ending point of the given contour.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>i</code> - the number of the contour</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the index of the ending point of the given contour</dd> +</dl> +</li> +</ul> +<a name="getFlags-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFlags</h4> +<pre>public byte getFlags(int i)</pre> +<div class="block">Returns the flags of the given point. To decode these bit flags, use the static elements of + <a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html" title="class in org.apache.fontbox.ttf"><code>GlyfDescript</code></a>. See also "Outline flags" in + <a href="https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6glyf.html">The + 'glyf' table</a> in the TrueType Reference Manual.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>i</code> - the given point</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the flags value for the given point</dd> +</dl> +</li> +</ul> +<a name="getXCoordinate-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getXCoordinate</h4> +<pre>public short getXCoordinate(int i)</pre> +<div class="block">Returns the x coordinate of the given point.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>i</code> - the given point</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the x coordinate value for the given point</dd> +</dl> +</li> +</ul> +<a name="getYCoordinate-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getYCoordinate</h4> +<pre>public short getYCoordinate(int i)</pre> +<div class="block">Returns the y coordinate of the given point.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>i</code> - the given point</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the y coordinate value for the given point</dd> +</dl> +</li> +</ul> +<a name="isComposite--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isComposite</h4> +<pre>public boolean isComposite()</pre> +<div class="block">Returns whether this point is a composite or not.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>true if this point is a composite</dd> +</dl> +</li> +</ul> +<a name="getPointCount--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getPointCount</h4> +<pre>public int getPointCount()</pre> +<div class="block">Returns the number of points.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the number of points</dd> +</dl> +</li> +</ul> +<a name="getContourCount--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getContourCount</h4> +<pre>public int getContourCount()</pre> +<div class="block">Returns the number of contours.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../org/apache/fontbox/ttf/GlyphDescription.html#getContourCount--">getContourCount</a></code> in interface <code><a href="../../../../org/apache/fontbox/ttf/GlyphDescription.html" title="interface in org.apache.fontbox.ttf">GlyphDescription</a></code></dd> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html#getContourCount--">getContourCount</a></code> in class <code><a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html" title="class in org.apache.fontbox.ttf">GlyfDescript</a></code></dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the number of contours</dd> +</dl> +</li> +</ul> +<a name="getComponentCount--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getComponentCount</h4> +<pre>public int getComponentCount()</pre> +<div class="block">Get number of components.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the number of components</dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/GlyfCompositeDescript.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeComp.html" title="class in org.apache.fontbox.ttf"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html" title="class in org.apache.fontbox.ttf"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/fontbox/ttf/GlyfCompositeDescript.html" target="_top">Frames</a></li> +<li><a href="GlyfCompositeDescript.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#fields.inherited.from.class.org.apache.fontbox.ttf.GlyfDescript">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2002–2018 <a href="http://pdfbox.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html> http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dd18b3e2/content/docs/2.0.10/javadocs/org/apache/fontbox/ttf/GlyfDescript.html ---------------------------------------------------------------------- diff --git a/content/docs/2.0.10/javadocs/org/apache/fontbox/ttf/GlyfDescript.html b/content/docs/2.0.10/javadocs/org/apache/fontbox/ttf/GlyfDescript.html new file mode 100644 index 0000000..5df544a --- /dev/null +++ b/content/docs/2.0.10/javadocs/org/apache/fontbox/ttf/GlyfDescript.html @@ -0,0 +1,537 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>GlyfDescript (PDFBox reactor 2.0.10 API)</title> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="GlyfDescript (PDFBox reactor 2.0.10 API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":10,"i1":10,"i2":10,"i3":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/GlyfDescript.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeDescript.html" title="class in org.apache.fontbox.ttf"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../org/apache/fontbox/ttf/GlyfSimpleDescript.html" title="class in org.apache.fontbox.ttf"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/fontbox/ttf/GlyfDescript.html" target="_top">Frames</a></li> +<li><a href="GlyfDescript.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.fontbox.ttf</div> +<h2 title="Class GlyfDescript" class="title">Class GlyfDescript</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.fontbox.ttf.GlyfDescript</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="../../../../org/apache/fontbox/ttf/GlyphDescription.html" title="interface in org.apache.fontbox.ttf">GlyphDescription</a></dd> +</dl> +<dl> +<dt>Direct Known Subclasses:</dt> +<dd><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeDescript.html" title="class in org.apache.fontbox.ttf">GlyfCompositeDescript</a>, <a href="../../../../org/apache/fontbox/ttf/GlyfSimpleDescript.html" title="class in org.apache.fontbox.ttf">GlyfSimpleDescript</a></dd> +</dl> +<hr> +<br> +<pre>public abstract class <span class="typeNameLabel">GlyfDescript</span> +extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> +implements <a href="../../../../org/apache/fontbox/ttf/GlyphDescription.html" title="interface in org.apache.fontbox.ttf">GlyphDescription</a></pre> +<div class="block">This class is based on code from Apache Batik a subproject of Apache XMLGraphics. + see http://xmlgraphics.apache.org/batik/ for further details.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static byte</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html#ON_CURVE">ON_CURVE</a></span></code> +<div class="block">if set, the point is on the curve.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static byte</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html#REPEAT">REPEAT</a></span></code> +<div class="block">if set, the next byte specifies the number of additional + times this set of flags is to be repeated.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static byte</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html#X_DUAL">X_DUAL</a></span></code> +<div class="block">This flag as two meanings, depending on how the + x-short vector flags is set.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static byte</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html#X_SHORT_VECTOR">X_SHORT_VECTOR</a></span></code> +<div class="block">if set, the x-coordinate is 1 byte long.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static byte</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html#Y_DUAL">Y_DUAL</a></span></code> +<div class="block">This flag as two meanings, depending on how the + y-short vector flags is set.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static byte</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html#Y_SHORT_VECTOR">Y_SHORT_VECTOR</a></span></code> +<div class="block">if set, the y-coordinate is 1 byte long.</div> +</td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier</th> +<th class="colLast" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected </code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html#GlyfDescript-short-org.apache.fontbox.ttf.TTFDataStream-">GlyfDescript</a></span>(short numberOfContours, + org.apache.fontbox.ttf.TTFDataStream bais)</code> +<div class="block">Constructor.</div> +</td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html#getContourCount--">getContourCount</a></span>()</code> +<div class="block">Returns the number of contours.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>int[]</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html#getInstructions--">getInstructions</a></span>()</code> +<div class="block">Returns the hinting instructions.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>protected void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html#readInstructions-org.apache.fontbox.ttf.TTFDataStream-int-">readInstructions</a></span>(org.apache.fontbox.ttf.TTFDataStream bais, + int count)</code> +<div class="block">Read the hinting instructions.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/fontbox/ttf/GlyfDescript.html#resolve--">resolve</a></span>()</code> +<div class="block">Resolve all parts of an composite glyph.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.org.apache.fontbox.ttf.GlyphDescription"> +<!-- --> +</a> +<h3>Methods inherited from interface org.apache.fontbox.ttf.<a href="../../../../org/apache/fontbox/ttf/GlyphDescription.html" title="interface in org.apache.fontbox.ttf">GlyphDescription</a></h3> +<code><a href="../../../../org/apache/fontbox/ttf/GlyphDescription.html#getEndPtOfContours-int-">getEndPtOfContours</a>, <a href="../../../../org/apache/fontbox/ttf/GlyphDescription.html#getFlags-int-">getFlags</a>, <a href="../../../../org/apache/fontbox/ttf/GlyphDescription.html#getPointCount--">getPointCount</a>, <a href="../../../../org/apache/fontbox/ttf/GlyphDescription.html#getXCoordinate-int-">getXCoordinate</a>, <a href="../../../../org/apache/fontbox/ttf/GlyphDescription.html#getYCoordinate-int-">getYCoordinate</a>, <a href="../../../../org/apache/fontbox/ttf/GlyphDescription.html#isComposite--">isComposite</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="ON_CURVE"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>ON_CURVE</h4> +<pre>public static final byte ON_CURVE</pre> +<div class="block">if set, the point is on the curve.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../constant-values.html#org.apache.fontbox.ttf.GlyfDescript.ON_CURVE">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="X_SHORT_VECTOR"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>X_SHORT_VECTOR</h4> +<pre>public static final byte X_SHORT_VECTOR</pre> +<div class="block">if set, the x-coordinate is 1 byte long.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../constant-values.html#org.apache.fontbox.ttf.GlyfDescript.X_SHORT_VECTOR">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="Y_SHORT_VECTOR"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>Y_SHORT_VECTOR</h4> +<pre>public static final byte Y_SHORT_VECTOR</pre> +<div class="block">if set, the y-coordinate is 1 byte long.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../constant-values.html#org.apache.fontbox.ttf.GlyfDescript.Y_SHORT_VECTOR">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="REPEAT"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>REPEAT</h4> +<pre>public static final byte REPEAT</pre> +<div class="block">if set, the next byte specifies the number of additional + times this set of flags is to be repeated.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../constant-values.html#org.apache.fontbox.ttf.GlyfDescript.REPEAT">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="X_DUAL"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>X_DUAL</h4> +<pre>public static final byte X_DUAL</pre> +<div class="block">This flag as two meanings, depending on how the + x-short vector flags is set. + If the x-short vector is set, this bit describes the sign + of the value, with 1 equaling positive and 0 positive. + If the x-short vector is not set and this bit is also not + set, the current x-coordinate is a signed 16-bit delta vector.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../constant-values.html#org.apache.fontbox.ttf.GlyfDescript.X_DUAL">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="Y_DUAL"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>Y_DUAL</h4> +<pre>public static final byte Y_DUAL</pre> +<div class="block">This flag as two meanings, depending on how the + y-short vector flags is set. + If the y-short vector is set, this bit describes the sign + of the value, with 1 equaling positive and 0 positive. + If the y-short vector is not set and this bit is also not + set, the current y-coordinate is a signed 16-bit delta vector.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../constant-values.html#org.apache.fontbox.ttf.GlyfDescript.Y_DUAL">Constant Field Values</a></dd> +</dl> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="GlyfDescript-short-org.apache.fontbox.ttf.TTFDataStream-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>GlyfDescript</h4> +<pre>protected GlyfDescript(short numberOfContours, + org.apache.fontbox.ttf.TTFDataStream bais) + throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Constructor.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>numberOfContours</code> - the number of contours</dd> +<dd><code>bais</code> - the stream to be read</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - is thrown if something went wrong</dd> +</dl> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="resolve--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>resolve</h4> +<pre>public void resolve()</pre> +<div class="block">Resolve all parts of an composite glyph.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../org/apache/fontbox/ttf/GlyphDescription.html#resolve--">resolve</a></code> in interface <code><a href="../../../../org/apache/fontbox/ttf/GlyphDescription.html" title="interface in org.apache.fontbox.ttf">GlyphDescription</a></code></dd> +</dl> +</li> +</ul> +<a name="getContourCount--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getContourCount</h4> +<pre>public int getContourCount()</pre> +<div class="block">Returns the number of contours.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../org/apache/fontbox/ttf/GlyphDescription.html#getContourCount--">getContourCount</a></code> in interface <code><a href="../../../../org/apache/fontbox/ttf/GlyphDescription.html" title="interface in org.apache.fontbox.ttf">GlyphDescription</a></code></dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the number of contours</dd> +</dl> +</li> +</ul> +<a name="getInstructions--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getInstructions</h4> +<pre>public int[] getInstructions()</pre> +<div class="block">Returns the hinting instructions.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>an array containing the hinting instructions.</dd> +</dl> +</li> +</ul> +<a name="readInstructions-org.apache.fontbox.ttf.TTFDataStream-int-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>readInstructions</h4> +<pre>protected void readInstructions(org.apache.fontbox.ttf.TTFDataStream bais, + int count) + throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Read the hinting instructions.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>bais</code> - the stream to be read</dd> +<dd><code>count</code> - the number of instructions to be read</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - is thrown if something went wrong</dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/GlyfDescript.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../org/apache/fontbox/ttf/GlyfCompositeDescript.html" title="class in org.apache.fontbox.ttf"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../org/apache/fontbox/ttf/GlyfSimpleDescript.html" title="class in org.apache.fontbox.ttf"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/fontbox/ttf/GlyfDescript.html" target="_top">Frames</a></li> +<li><a href="GlyfDescript.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2002–2018 <a href="http://pdfbox.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html>