HaruOutline::setOpened
HaruAnnotation::setBorderStyle
haru
PHP Manual

# The HaruAnnotation class

## Introduction

Haru PDF Annotation Class.

## Class synopsis

HaruAnnotation
HaruAnnotation {
/* Methods */
bool HaruAnnotation::setBorderStyle ( float `$width` , int `$dash_on` , int `$dash_off` )
bool HaruAnnotation::setHighlightMode ( int `$mode` )
bool HaruAnnotation::setIcon ( int `$icon` )
bool HaruAnnotation::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