1PDF::API2::Basic::PDF::UAsrerrayC(o3n)tributed Perl DocuPmDeFn:t:aAtPiIo2n::Basic::PDF::Array(3)
2
3
4
6 PDF::API2::Basic::PDF::Array - Corresponds to a PDF array. Inherits
7 from PDF::Objind
8
10 PDF::Array->new($parent, @values)
11 Creates an array with the given storage parent and an optional list of
12 values to initialise the array with.
13
14 $a->outobjdeep($fh, $pdf)
15 Outputs an array as a PDF array to the given filehandle.
16
17 $a->elements()
18 Returns the contents of the array.
19
20 $a->add_elements(@elements)
21 Appends the given elements to the array. An element is only added if it
22 is defined.
23
24 $a->remove_element($element)
25 Removes all occurrences of an element from an array.
26
27 $a->val()
28 Returns a reference to the contents of the array.
29
30 $a->copy($pdf)
31 Copies the array with deep-copy on elements which are not full PDF
32 objects with respect to a particular $pdf output context
33
34
35
36perl v5.32.0 2020-07-28 PDF::API2::Basic::PDF::Array(3)