phpdftk API Documentation

CalloutType : string
in package

Built-in callout types for {@see Pdf::addCallout()} / {@see Writer\Page::drawCallout()}.

Each case carries default bar / background colours and a default label. Override any of these via CalloutStyle.

Table of Contents

Cases

Danger  = 'Danger'
Note  = 'Note'
Tip  = 'Tip'
Warning  = 'Warning'

Methods

defaultBarColor()  : array{float, float, float}
Default left-bar colour for this type, RGB 0-1.
defaultBgColor()  : array{float, float, float}
Default background tint, RGB 0-1.
defaultLabel()  : string

Cases

Methods

defaultBarColor()

Default left-bar colour for this type, RGB 0-1.

public defaultBarColor() : array{float, float, float}
Return values
array{float, float, float}

defaultBgColor()

Default background tint, RGB 0-1.

public defaultBgColor() : array{float, float, float}
Return values
array{float, float, float}

defaultLabel()

public defaultLabel() : string
Return values
string

        
On this page

Search results