You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
507 B
JavaScript
34 lines
507 B
JavaScript
/**
|
|
* Describes how to draw a label.
|
|
*
|
|
* @enum {Number}
|
|
*
|
|
* @see Label#style
|
|
*/
|
|
var LabelStyle = {
|
|
/**
|
|
* Fill the text of the label, but do not outline.
|
|
*
|
|
* @type {Number}
|
|
* @constant
|
|
*/
|
|
FILL: 0,
|
|
|
|
/**
|
|
* Outline the text of the label, but do not fill.
|
|
*
|
|
* @type {Number}
|
|
* @constant
|
|
*/
|
|
OUTLINE: 1,
|
|
|
|
/**
|
|
* Fill and outline the text of the label.
|
|
*
|
|
* @type {Number}
|
|
* @constant
|
|
*/
|
|
FILL_AND_OUTLINE: 2,
|
|
};
|
|
export default Object.freeze(LabelStyle);
|