SetaPDF_Extractor_Result_WordGroups This class represents word groups
File: /SetaPDF v2/Extractor/Result/WordGroups.php
Class hierarchy
Implements
Summary
Properties
$_items
protected SetaPDF_Extractor_Result_HasBoundsInterface[] SetaPDF_Extractor_Result_Collection::$_items = array()
Methods
__construct()
public SetaPDF_Extractor_Result_Collection::__construct (
[ SetaPDF_Extractor_Result_HasBoundsInterface[] $items = array (
) ]
)The constructor.
Parameters
current()
public SetaPDF_Extractor_Result_Collection::current (
void
): SetaPDF_Extractor_Result_HasBoundsInterface|nullImplementation of the Iterator interface.
See
getBounds()
Get the outer-most bounds of all items in this collection.
This method will only return values of non-rotated items.
getItems()
public SetaPDF_Extractor_Result_Collection::getItems (
void
): SetaPDF_Extractor_Result_HasBoundsInterface[]Get all items.
offsetGet()
public SetaPDF_Extractor_Result_Collection::offsetGet (
int $offset
): SetaPDF_Extractor_Result_HasBoundsInterfaceImplementation of the ArrayAccess interface.
Parameters
- $offset : int
Exceptions
Throws InvalidArgumentException
See
offsetSet()
public SetaPDF_Extractor_Result_WordGroups::offsetSet (
null|integer $offset, SetaPDF_Extractor_Result_Words $value
): voidImplementation of the ArrayAccess interface.
Parameters
- $offset : null|integer
- $value : SetaPDF_Extractor_Result_Words
Exceptions
Throws InvalidArgumentException