class final Core · pdftoolkit/pdf 0.12.4

PDF\Specification\Iso32000_2\Dictionary\StandardLayoutAttributesCommonToAllStandardStructureTypesTable378\BorderColorEntry
ISO 32000-2:2020 EC3, table 378, /BorderColor.

Read the source declaration ↗

Inheritance and contracts

Parent : PDF\Specification\SchemaEntry

ISO 32000-2:2020 EC3 definition

Table 378 · Standard layout attributes common to all standard structure types
§14.8.5.4.2 · PDF page 793

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 360

Original normative excerpt in English.

/BorderColor array

(Optional; inheritable; PDF 1.5) The colour of the border drawn on the edges of a table cell or any element’s content rectangle (possibly adjusted by the Padding attribute). The value of each edge shall be an array of three numbers in the range 0.0 to 1.0, representing the red, green, and blue values, respectively, of an RGB colour space. There are two forms: • A single array of three numbers representing the RGB values to apply to all four edges. • An array of four arrays, each specifying the RGB values for one edge of the border, in the order of the before, after, start, and end edges. A value of null for any of the edges means that it shall not be drawn. If this attribute is not specified, the border colour for this element shall be the current text fill colour in effect at the start of its associated content.

PDF 2.0 scope and limits.

Construction

__construct()

Declared by PDF\Specification\Iso32000_2\Dictionary\StandardLayoutAttributesCommonToAllStandardStructureTypesTable378\BorderColorEntry · View the code ↗

Inherited methods

3 methods from parents and contracts

definition()

public function definition(): PDF\Specification\EntryDefinition

Declared by PDF\Specification\SchemaEntry · View the code ↗

key()

public function key(): PDF\Syntax\Object\NameType

Declared by PDF\Syntax\Object\DictionaryObject\Entry · View the code ↗

value()

public function value(): PDF\Syntax\FileStructure\BasicType

Declared by PDF\Syntax\Object\DictionaryObject\Entry · View the code ↗

Properties

Constants