1PDF::Builder::Basic::PDUFs:e:rArCroanyt(r3i)buted Perl DPoDcFu:m:eBnutialtdieorn::Basic::PDF::Array(3)
2
3
4
6 PDF::Builder::Basic::PDF::Array - Corresponds to a PDF array. Inherits
7 from PDF::Builder::Basic::PDF::Objind
8
10 PDF::Array->new($parent, @values)
11 Creates an array with the given storage parent and an optional list
12 of 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 Formerly called "elementsof", which is now deprecated.
21
22 $a->add_elements(@elements)
23 Appends the given elements to the array. An element is only added
24 if it is defined.
25
26 $a->remove_element($element)
27 Removes all occurrences of an element from an array.
28
29 Formerly called "removeobj", which is now deprecated and will be
30 removed.
31
32 $a->val()
33 Returns a reference to the contents of the array.
34
35 $a->copy($pdf)
36 Copies the array with deep-copy on elements which are not full PDF
37 objects with respect to a particular $pdf output context.
38
39
40
41perl v5.36.0 2022-09-13PDF::Builder::Basic::PDF::Array(3)