HaruOutline::setOpened
HaruAnnotation::setBorderStyle
haru
PHP Manual

# The HaruAnnotation class

## Introduction

Haru PDF Annotation Class.

## Class synopsis

HaruAnnotation
class HaruAnnotation {
/* Methods */
bool setBorderStyle ( float `$width` , int `$dash_on` , int `$dash_off` )
bool setHighlightMode ( int `$mode` )
bool setIcon ( int `$icon` )
bool setOpened ( bool `$opened` )
}

## Predefined Constants

Type | Name | Description
--- | --- | ---
int | HaruAnnotation::NO_HIGHLIGHT |
int | HaruAnnotation::INVERT_BOX |
int | HaruAnnotation::INVERT_BORDER |
int | HaruAnnotation::DOWN_APPEARANCE |
int | HaruAnnotation::ICON_COMMENT |
int | HaruAnnotation::ICON_KEY |
int | HaruAnnotation::ICON_NOTE |
int | HaruAnnotation::ICON_HELP |
int | HaruAnnotation::ICON_NEW_PARAGRAPH |
int | HaruAnnotation::ICON_PARAGRAPH |
int | HaruAnnotation::ICON_INSERT |

## Table of Contents

- HaruAnnotation::setBorderStyle — Set the border style of the annotation
- HaruAnnotation::setHighlightMode — Set the highlighting mode of the annotation
- HaruAnnotation::setIcon — Set the icon style of the annotation
- HaruAnnotation::setOpened — Set the initial state of the annotation

HaruOutline::setOpened
HaruAnnotation::setBorderStyle
haru
PHP Manual