LabelStyle.js 809 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*global define*/
  2. define([
  3. '../Core/freezeObject'
  4. ], function(
  5. freezeObject) {
  6. "use strict";
  7. /**
  8. * Describes how to draw a label.
  9. *
  10. * @namespace
  11. * @alias LabelStyle
  12. *
  13. * @see Label#style
  14. */
  15. var LabelStyle = {
  16. /**
  17. * Fill the text of the label, but do not outline.
  18. *
  19. * @type {Number}
  20. * @constant
  21. */
  22. FILL : 0,
  23. /**
  24. * Outline the text of the label, but do not fill.
  25. *
  26. * @type {Number}
  27. * @constant
  28. */
  29. OUTLINE : 1,
  30. /**
  31. * Fill and outline the text of the label.
  32. *
  33. * @type {Number}
  34. * @constant
  35. */
  36. FILL_AND_OUTLINE : 2
  37. };
  38. return freezeObject(LabelStyle);
  39. });