class final Core · roukmoute/pdf 0.6.2
PDF\Syntax\DataStructure\RectangleFour coordinates; reversed corners remain legal (ISO 32000-1, 7.9.5).Inheritance and contracts
Parent : PDF\Syntax\Object\ArrayType
Interfaces : Countable, IteratorAggregate, PDF\Syntax\FileStructure\BasicType, Stringable, Traversable
Construction
__construct()
public function __construct(PDF\Syntax\Object\NumericType $lowerLeftX, PDF\Syntax\Object\NumericType $lowerLeftY, PDF\Syntax\Object\NumericType $upperRightX, PDF\Syntax\Object\NumericType $upperRightY)Inherited methods
4 methods from parents and contracts
__toString()
public function __toString(): stringcount()
public function count(): intgetIterator()
public function getIterator(): TraversabletoPdf()
public function toPdf(PDF\Serialization\SerializationContext $context): stringProperties
| Declaration | Origin and documentation |
|---|---|
public readonly array $items | PDF\Syntax\Object\ArrayType@var list<BasicType> |
public readonly PDF\Syntax\Object\NumericType $lowerLeftX | PDF\Syntax\DataStructure\Rectangle |
public readonly PDF\Syntax\Object\NumericType $lowerLeftY | PDF\Syntax\DataStructure\Rectangle |
public readonly PDF\Syntax\Object\NumericType $upperRightX | PDF\Syntax\DataStructure\Rectangle |
public readonly PDF\Syntax\Object\NumericType $upperRightY | PDF\Syntax\DataStructure\Rectangle |