Global

Type Definitions




Type Definitions

ColorPreset

Type:
  • Object
Properties:
Name Type Description
color PSPDFKit.Color | null

The Color represented by this preset. Eg: new PSPDFKit.Color({ r: 255, g: 139, b: 94 }). null means transparent.

localization Localization

LineCapPresets

Type:
  • "none" | "square" | "circle" | "diamond" | "openArrow" | "closedArrow" | "butt" | "reverseOpenArrow" | "reverseClosedArrow" | "slash"

Localization

Type:
  • Object
Properties:
Name Type Attributes Description
id string

Eg: 'purple'

defaultMessage string <nullable>

Default Localization message. Eg: 'Purple'

description string <nullable>

Description of the localization message. Eg: 'Purple Color'