SquigglyAnnotation
extends MarkupAnnotation
in package
Squiggly annotation (/Subtype /Squiggly).
Attributes
- #[RequiresPdfVersion]
- \Phpdftk\Pdf\Core\PdfVersion::V1_3
Table of Contents
Constants
- PDF_TYPE = 'Annot'
Properties
- $af : PdfArray|null
- $ap : PdfDictionary|AppearanceDict|null
- $as : PdfName|null
- $bm : PdfName|null
- $border : PdfArray|null
- $bs : Serializable|null
- $c : PdfArray|null
- $ca : PdfNumber|null
- $contents : PdfString|null
- $creationDate : PdfString|null
- $exData : PdfDictionary|null
- $f : int
- $generationNumber : int
- $irt : PdfReference|null
- $it : PdfName|null
- $lang : PdfString|null
- $m : PdfString|null
- $markupCa : float|null
- $nm : PdfString|null
- $objectNumber : int
- $oc : PdfReference|null
- $p : PdfReference|null
- $popup : PdfReference|null
- $quadPoints : PdfArray|null
- $rc : PdfString|null
- $rect : PdfArray
- $rt : PdfName|null
- $structParent : int|null
- $subj : PdfString|null
- $t : PdfString|null
Methods
- __construct() : mixed
- getSubtype() : string
- Returns the /Subtype value for this annotation.
- toIndirectObject() : string
- Wrap the object in an indirect object structure: X Y obj ... endobj
- toPdf() : string
- Serialize the object's dictionary/value to PDF syntax.
- buildDictionary() : PdfDictionary
- Build the common annotation dictionary entries.
Constants
PDF_TYPE
public
mixed
PDF_TYPE
= 'Annot'
Properties
$af
public
PdfArray|null
$af
= null
$ap
public
PdfDictionary|AppearanceDict|null
$ap
= null
$as
public
PdfName|null
$as
= null
$bm
public
PdfName|null
$bm
= null
$border
public
PdfArray|null
$border
= null
$bs
public
Serializable|null
$bs
= null
$c
public
PdfArray|null
$c
= null
$ca
public
PdfNumber|null
$ca
= null
$contents
public
PdfString|null
$contents
= null
$creationDate
public
PdfString|null
$creationDate
= null
$exData
public
PdfDictionary|null
$exData
= null
$f
public
int
$f
= 0
$generationNumber
public
int
$generationNumber
= 0
$irt
public
PdfReference|null
$irt
= null
$it
public
PdfName|null
$it
= null
$lang
public
PdfString|null
$lang
= null
$m
public
PdfString|null
$m
= null
$markupCa
public
float|null
$markupCa
= null
$nm
public
PdfString|null
$nm
= null
$objectNumber
public
int
$objectNumber
= 0
$oc
public
PdfReference|null
$oc
= null
$p
public
PdfReference|null
$p
= null
$popup
public
PdfReference|null
$popup
= null
$quadPoints
public
PdfArray|null
$quadPoints
= null
$rc
public
PdfString|null
$rc
= null
$rect
public
PdfArray
$rect
$rt
public
PdfName|null
$rt
= null
$structParent
public
int|null
$structParent
= null
$subj
public
PdfString|null
$subj
= null
$t
public
PdfString|null
$t
= null
Methods
__construct()
public
__construct(PdfArray $rect) : mixed
Parameters
- $rect : PdfArray
getSubtype()
Returns the /Subtype value for this annotation.
public
getSubtype() : string
Return values
stringtoIndirectObject()
Wrap the object in an indirect object structure: X Y obj ... endobj
public
toIndirectObject() : string
Return values
stringtoPdf()
Serialize the object's dictionary/value to PDF syntax.
public
toPdf() : string
Return values
stringbuildDictionary()
Build the common annotation dictionary entries.
protected
buildDictionary() : PdfDictionary
Subclasses call this and add their own entries.