LabelStyle.js 728 B

1234567891011121314151617181920212223242526272829303132333435
  1. import freezeObject from '../Core/freezeObject.js';
  2. /**
  3. * Describes how to draw a label.
  4. *
  5. * @exports LabelStyle
  6. *
  7. * @see Label#style
  8. */
  9. var 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. export default freezeObject(LabelStyle);