Add existing to tracked
This commit is contained in:
+38
@@ -0,0 +1,38 @@
|
||||
// @ts-check
|
||||
|
||||
/**
|
||||
* Describes how to draw a label.
|
||||
*
|
||||
* @enum {number}
|
||||
*
|
||||
* @see Label#style
|
||||
*/
|
||||
const 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,
|
||||
};
|
||||
|
||||
Object.freeze(LabelStyle);
|
||||
|
||||
export default LabelStyle;
|
||||
Reference in New Issue
Block a user