index.ts 585 B

12345678910111213141516171819202122232425262728
  1. export const MAX_SCALE = 5;
  2. export const MIN_SCALE = 0.25;
  3. export const RENDER_RANGE = 3;
  4. export const MARKUP_TYPE: Record<string, any> = {
  5. highlight: 'Highlight',
  6. underline: 'Underline',
  7. squiggly: 'Squiggly',
  8. strikeout: 'StrikeOut',
  9. };
  10. export const FORM_TYPE: Record<string, any> = {
  11. textfield: 'textfield',
  12. checkbox: 'checkbox',
  13. };
  14. export const ANNOTATION_TYPE: Record<string, any> = {
  15. ...MARKUP_TYPE,
  16. ...FORM_TYPE,
  17. ink: 'Ink',
  18. freetext: 'FreeText',
  19. text: 'Text',
  20. square: 'Square',
  21. circle: 'Circle',
  22. line: 'Line',
  23. arrow: 'Line',
  24. image: 'Image',
  25. };