<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>The HaruAnnotation class</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="haruoutline.setopened.html">HaruOutline::setOpened</a></div> <div class="next" style="text-align: right; float: right;"><a href="haruannotation.setborderstyle.html">HaruAnnotation::setBorderStyle</a></div> <div class="up"><a href="book.haru.html">haru</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="class.haruannotation" class="reference"> <h1 class="title">The HaruAnnotation class</h1> <div class="partintro"><p class="verinfo">(PECL haru >= 0.0.1)</p> <div class="section" id="haruannotation.intro"> <h2 class="title">Introduction</h2> <p class="para"> Haru PDF Annotation Class. </p> </div> <div class="section" id="haruannotation.synopsis"> <h2 class="title">Class synopsis</h2> <div class="classsynopsis"> <div class="ooclass"></div> <div class="classsynopsisinfo"> <span class="ooclass"> <strong class="classname">HaruAnnotation</strong> </span> {</div> <div class="classsynopsisinfo classsynopsisinfo_comment">/* Methods */</div> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><a href="haruannotation.setborderstyle.html" class="methodname">setBorderStyle</a></span> ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$width</code></span> , <span class="methodparam"><span class="type">int</span> <code class="parameter">$dash_on</code></span> , <span class="methodparam"><span class="type">int</span> <code class="parameter">$dash_off</code></span> )</div> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><a href="haruannotation.sethighlightmode.html" class="methodname">setHighlightMode</a></span> ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$mode</code></span> )</div> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><a href="haruannotation.seticon.html" class="methodname">setIcon</a></span> ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$icon</code></span> )</div> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><a href="haruannotation.setopened.html" class="methodname">setOpened</a></span> ( <span class="methodparam"><span class="type">bool</span> <code class="parameter">$opened</code></span> )</div> }</div> </div> <div class="section" id="haru.haruannotation.constants"> <h2 class="title">Predefined Constants</h2> <table class="doctable table"> <thead> <tr> <th>Type</th> <th>Name</th> <th>Description</th> </tr> </thead> <tbody class="tbody"> <tr> <td>int</td> <td>HaruAnnotation::NO_HIGHLIGHT</td> <td class="empty"> </td> </tr> <tr> <td>int</td> <td>HaruAnnotation::INVERT_BOX</td> <td class="empty"> </td> </tr> <tr> <td>int</td> <td>HaruAnnotation::INVERT_BORDER</td> <td class="empty"> </td> </tr> <tr> <td>int</td> <td>HaruAnnotation::DOWN_APPEARANCE</td> <td class="empty"> </td> </tr> <tr> <td>int</td> <td>HaruAnnotation::ICON_COMMENT</td> <td class="empty"> </td> </tr> <tr> <td>int</td> <td>HaruAnnotation::ICON_KEY</td> <td class="empty"> </td> </tr> <tr> <td>int</td> <td>HaruAnnotation::ICON_NOTE</td> <td class="empty"> </td> </tr> <tr> <td>int</td> <td>HaruAnnotation::ICON_HELP</td> <td class="empty"> </td> </tr> <tr> <td>int</td> <td>HaruAnnotation::ICON_NEW_PARAGRAPH</td> <td class="empty"> </td> </tr> <tr> <td>int</td> <td>HaruAnnotation::ICON_PARAGRAPH</td> <td class="empty"> </td> </tr> <tr> <td>int</td> <td>HaruAnnotation::ICON_INSERT</td> <td class="empty"> </td> </tr> </tbody> </table> </div> </div> <h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="haruannotation.setborderstyle.html">HaruAnnotation::setBorderStyle</a> — Set the border style of the annotation</li><li><a href="haruannotation.sethighlightmode.html">HaruAnnotation::setHighlightMode</a> — Set the highlighting mode of the annotation</li><li><a href="haruannotation.seticon.html">HaruAnnotation::setIcon</a> — Set the icon style of the annotation</li><li><a href="haruannotation.setopened.html">HaruAnnotation::setOpened</a> — Set the initial state of the annotation</li></ul> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="haruoutline.setopened.html">HaruOutline::setOpened</a></div> <div class="next" style="text-align: right; float: right;"><a href="haruannotation.setborderstyle.html">HaruAnnotation::setBorderStyle</a></div> <div class="up"><a href="book.haru.html">haru</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>