class final Core · roukmoute/pdf 0.7.1

PDF\Specification\Dictionary\StandardLayoutAttributesCommonToAllStandardStructureTypesTable343\BorderStyleEntry
Table 343, /BorderStyle; PDF type: array or name; Optional; not inheritable; PDF 1.5.

Read the source declaration ↗

Inheritance and contracts

Parent : PDF\Specification\SchemaEntry

Definition in the specification

Table 343 · Standard layout attributes common to all standard structure types
ISO 32000-1:2008, §14.8.5.4.2 · PDF page 607 ↗

/BorderStyle array or name

(Optional; not inheritable; PDF 1.5) The style of an element’s border. Specifies the stroke pattern of each edge of a table cell or any element’s content rectangle (possibly adjusted by the Padding attribute). There are two forms: • A name from the list below representing the border style to apply to all four edges. • An array of four entries, each entry specifying the style 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. None No border. Forces the computed value of BorderThickness to be 0. Hidden Same as None, except in terms of border conflict resolution for table elements. Dotted The border is a series of dots. Dashed The border is a series of short line segments. Solid The border is a single line segment. Double The border is two solid lines. The sum of the two lines and the space between them equals the value of BorderThickness. Groove The border looks as though it were carved into the canvas. Ridge The border looks as though it were coming out of the canvas (the opposite of Groove). Inset The border makes the entire box look as though it were embedded in the canvas. Outset The border makes the entire box look as though it were coming out of the canvas (the opposite of Inset). Default value: None All borders shall be drawn on top of the box’s background. The colour of borders drawn for values of Groove, Ridge, Inset, and Outset shall depend on the structure element’s BorderColor attribute and the colour of the background over which the border is being drawn. NOTE Conforming HTML applications may interpret Dotted, Dashed, Double, Groove, Ridge, Inset, and Outset to be Solid.

Qualifier: Optional; not inheritable; PDF 1.5

Conditional descriptions remain traceable. A definition alone does not implement a codec, a signature or every format mechanism. Read the coverage.

Construction

__construct()

Declared by PDF\Specification\Dictionary\StandardLayoutAttributesCommonToAllStandardStructureTypesTable343\BorderStyleEntry · 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