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, @vals)
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->removeobj($elem)
18 Removes all occurrences of an element from an array.
19
20 $a->elementsof
21 Returns a list of all the elements in the array. Notice that this is
22 not the array itself but the elements in the array.
23
24 Also available as "elements".
25
26 $a->add_elements
27 Appends the given elements to the array. An element is only added if it
28 is defined.
29
30 $a->val
31 Returns the value of the array, this is a reference to the actual array
32 containing the elements.
33
34 $a->copy($pdf)
35 Copies the array with deep-copy on elements which are not full PDF
36 objects with respect to a particular $pdf output context
37
38
39
40perl v5.28.1 2017-07-07 PDF::API2::Basic::PDF::Array(3)