setasign\SetaPDF2\Core\Document\Page\Annotation

LineEndingStyle Constants class for line ends.

File: /SetaPDF v2/Core/Document/Page/Annotation/LineEndingStyle.php
Old class name (alias): \SetaPDF_Core_Document_Page_Annotation_LineEndingStyle

See PDF 32000-1:2008 - Table 176

Class hierarchy

Summary

Constants

BUTT

public const string LineEndingStyle::BUTT = 'Butt'

A short line at the endpoint perpendicular to the line itself

CIRCLE

public const string LineEndingStyle::CIRCLE = 'Circle'

A circle filled with the annotation’s interior color, if any

CLOSED_ARROW

public const string LineEndingStyle::CLOSED_ARROW = 'ClosedArrow'

Two short lines meeting in an acute angle as in the OpenArrow style and connected by a third line to form a triangular closed arrowhead filled with the annotation’s interior color, if any

DIAMOND

public const string LineEndingStyle::DIAMOND = 'Diamond'

A diamond shape filled with the annotation’s interior color, if any

NONE

public const string LineEndingStyle::NONE = 'None'

No line ending

OPEN_ARROW

public const string LineEndingStyle::OPEN_ARROW = 'OpenArrow'

Two short lines meeting in an acute angle to form an open arrowhead

REVERSED_CLOSED_ARROW

public const string LineEndingStyle::REVERSED_CLOSED_ARROW = 'RClosedArrow'

A triangular closed arrowhead in the reverse direction from ClosedArrow

REVERSED_OPEN_ARROW

public const string LineEndingStyle::REVERSED_OPEN_ARROW = 'ROpenArrow'

Two short lines in the reverse direction from OpenArrow

SLASH

public const string LineEndingStyle::SLASH = 'Slash'

A short line at the endpoint approximately 30 degrees clockwise from perpendicular to the line itself

SQUARE

public const string LineEndingStyle::SQUARE = 'Square'

A square filled with the annotation’s interior color, if any


Static Methods

getAll()

public static LineEndingStyle::getAll (
void
): array

Get all allowed line endings.