class final Core · pdftoolkit/pdf 0.12.4
PDF\Specification\Iso32000_2\Dictionary\Version20OPIDictionaryTable407\CropRectEntryISO 32000-2:2020 EC3, table 407, /CropRect.Inheritance and contracts
Parent : PDF\Specification\SchemaEntry
ISO 32000-2:2020 EC3 definition
Table 407 · Entries in a version 2.0 OPI dictionary
§14.11.7 · PDF page 848
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.
/CropRect rectangle
(Optional) An array of four numbers of the form [left top right bottom] specifying the portion of the image that shall be used. The Size and CropRect entries shall either both be present or both be absent. If present, they shall satisfy the conditions 0 ≤ left <right ≤ width and 0 ≤ top <bottom ≤ height In this coordinate space, the positive y axis extends vertically downward; hence, the requirement that top < bottom.
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\Version20OPIDictionaryTable407\CropRectEntry |
TABLE | | PDF\Specification\Iso32000_2\Dictionary\Version20OPIDictionaryTable407\CropRectEntry |
VARIABLE | | PDF\Specification\SchemaEntry |