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