class final Core · pdftoolkit/pdf 0.12.4
PDF\Specification\Iso32000_2\Dictionary\Version13OPIDictionaryTable406\PositionEntryISO 32000-2:2020 EC3, table 406, /Position.Inheritance and contracts
Parent : PDF\Specification\SchemaEntry
ISO 32000-2:2020 EC3 definition
Table 406 · Entries in a version 1.3 OPI dictionary
§14.11.7 · PDF page 846
Original PDF at the documented commit ↗ · Source metadata at the documented commit ↗ · Public errata ↗
Original retained in the core repository. Table inventory and semantic validation remain distinct.
Original normative excerpt in English.
/Position array
(Required) An array of eight numbers of the form [llx lly ulx uly urx ury lrx lry] specifying the location on the page of the cropped image, where (ll, ll ) are the user space x y coordinates of the lower-left corner, (ul, ul ) are x y those of the upper-left corner, (ur , ur ) are those x y of the upper-right corner, and (lr, lr ) are those x y of the lower-right corner. The specified coordinates shall define a parallelogram; that is, they shall satisfy the conditions 𝑢𝑙 −𝑙𝑙 =𝑢𝑟 −𝑙𝑟 𝑥 𝑥 𝑥 𝑥 and 𝑢𝑙 −𝑙𝑙 =𝑢𝑟 −𝑙𝑟 𝑦 𝑦 𝑦 𝑦 The combination of Position and CropRect determines the image’s scaling, rotation, reflection, and skew.
Construction
__construct()
public function __construct(PDF\Syntax\Object\ArrayType|PDF\Syntax\Object\IndirectReference $value)Inherited methods
3 methods from parents and contracts
definition()
public function definition(): PDF\Specification\EntryDefinitionkey()
public function key(): PDF\Syntax\Object\NameTypevalue()
public function value(): PDF\Syntax\FileStructure\BasicTypeProperties
| Declaration | Origin and documentation |
|---|---|
public readonly PDF\Syntax\Object\NameType $key | PDF\Syntax\Object\DictionaryObject\Entry |
public readonly PDF\Syntax\FileStructure\BasicType $value | PDF\Syntax\Object\DictionaryObject\Entry |
Constants
| Name | PHP value | Origin |
|---|---|---|
KEY | | PDF\Specification\Iso32000_2\Dictionary\Version13OPIDictionaryTable406\PositionEntry |
TABLE | | PDF\Specification\Iso32000_2\Dictionary\Version13OPIDictionaryTable406\PositionEntry |
VARIABLE | | PDF\Specification\SchemaEntry |