setasign\SetaPDF2\Extractor\Result
WordWithGlyphs This class represnts a single word including its glyphs
File: /SetaPDF v2/Extractor/Result/WordWithGlyphs.php
Old class name (alias):
\SetaPDF_Extractor_Result_WordWithGlyphs
Class hierarchy
Implements
Summary
Properties
$_bounds
protected ?\SetaPDF_Extractor_Result_Bounds[] WordWithGlyphs::$_bounds
The bounds of this word.
$_delimiterType
protected int WordWithGlyphs::$_delimiterType
The delimiter type of the word.
Static Methods
merge()
Merges two WordWithGlyphs instances into a new one.
The words text-content will be $resultingString.
Parameters
Exceptions
Throws \ReflectionException
Methods
__construct()
public WordWithGlyphs::__construct ()
The constructor.
Parameters
- $glyphs : \SetaPDF_Extractor_Result_Glyph[]
- $delimiterType : int
getParts()
Get all parts of this word.
If the word is not created by several words, this method will return itself.