Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | 1x | /**
* 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,
};
export default Object.freeze(LabelStyle);
|