index.ts 449 B

123456789101112131415161718192021
  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 ANNOTATION_TYPE: Record<string, any> = {
  11. ...MARKUP_TYPE,
  12. ink: 'Ink',
  13. freetext: 'FreeText',
  14. text: 'Text',
  15. square: 'Square',
  16. circle: 'Circle',
  17. line: 'Line',
  18. arrow: 'Line',
  19. };