boundingBox = $boundingBox; } /** * @return BoundingPoly */ public function getBoundingBox() { return $this->boundingBox; } /** * Confidence of the OCR results for the paragraph. Range [0, 1]. * * @param float $confidence */ public function setConfidence($confidence) { $this->confidence = $confidence; } /** * @return float */ public function getConfidence() { return $this->confidence; } /** * Additional information detected for the paragraph. * * @param TextProperty $property */ public function setProperty(TextProperty $property) { $this->property = $property; } /** * @return TextProperty */ public function getProperty() { return $this->property; } /** * List of all words in this paragraph. * * @param Word[] $words */ public function setWords($words) { $this->words = $words; } /** * @return Word[] */ public function getWords() { return $this->words; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Paragraph::class, 'Google_Service_Vision_Paragraph');