class final Core · pdftoolkit/pdf 0.12.4
PDF\Specification\Iso32000_2\Dictionary\LineAnnotationTable178\COEntryISO 32000-2:2020 EC3, table 178, /CO.Inheritance and contracts
Parent : PDF\Specification\SchemaEntry
ISO 32000-2:2020 EC3 definition
Table 178 · Additional entries specific to a line annotation
§12.5.6.7 · PDF page 502
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.
Common definitions: Table 166 · Table 172
Original normative excerpt in English.
/CO array
(Optional; meaningful only if Cap is true; PDF 1.7) An array of two numbers that shall specify the offset of the caption text from its normal position. The first value shall be the horizontal offset along the annotation line from its midpoint, with a positive value indicating offset to the right and a negative value indicating offset to the left. The second value shall be the vertical offset perpendicular to the annotation line, with a positive value indicating a shift up and a negative value indicating a shift down. Default value: [0, 0] (no offset from normal positioning)
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\LineAnnotationTable178\COEntry |
TABLE | | PDF\Specification\Iso32000_2\Dictionary\LineAnnotationTable178\COEntry |
VARIABLE | | PDF\Specification\SchemaEntry |