智慧水务管理系统 - 精河县供水工程综合管理平台

1234567891011121314151617181920212223242526272829303132333435363738
  1. // @ts-check
  2. /**
  3. * Describes how to draw a label.
  4. *
  5. * @enum {number}
  6. *
  7. * @see Label#style
  8. */
  9. const LabelStyle = {
  10. /**
  11. * Fill the text of the label, but do not outline.
  12. *
  13. * @type {number}
  14. * @constant
  15. */
  16. FILL: 0,
  17. /**
  18. * Outline the text of the label, but do not fill.
  19. *
  20. * @type {number}
  21. * @constant
  22. */
  23. OUTLINE: 1,
  24. /**
  25. * Fill and outline the text of the label.
  26. *
  27. * @type {number}
  28. * @constant
  29. */
  30. FILL_AND_OUTLINE: 2,
  31. };
  32. Object.freeze(LabelStyle);
  33. export default LabelStyle;