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.
64 lines
1.2 KiB
JavaScript
64 lines
1.2 KiB
JavaScript
4 months ago
|
"use strict";
|
||
|
|
||
|
Object.defineProperty(exports, "__esModule", {
|
||
|
value: true
|
||
|
});
|
||
|
exports.titleConfig = void 0;
|
||
|
var titleConfig = {
|
||
|
/**
|
||
|
* @description Whether to display title
|
||
|
* @type {Boolean}
|
||
|
* @default show = true
|
||
|
*/
|
||
|
show: true,
|
||
|
|
||
|
/**
|
||
|
* @description Title text
|
||
|
* @type {String}
|
||
|
* @default text = ''
|
||
|
*/
|
||
|
text: '',
|
||
|
|
||
|
/**
|
||
|
* @description Title offset
|
||
|
* @type {Array}
|
||
|
* @default offset = [0, -20]
|
||
|
*/
|
||
|
offset: [0, -20],
|
||
|
|
||
|
/**
|
||
|
* @description Title default style configuration
|
||
|
* @type {Object}
|
||
|
* @default style = {Configuration Of Class Style}
|
||
|
*/
|
||
|
style: {
|
||
|
fill: '#333',
|
||
|
fontSize: 17,
|
||
|
fontWeight: 'bold',
|
||
|
textAlign: 'center',
|
||
|
textBaseline: 'bottom'
|
||
|
},
|
||
|
|
||
|
/**
|
||
|
* @description Title render level
|
||
|
* Priority rendering high level
|
||
|
* @type {Number}
|
||
|
* @default rLevel = 20
|
||
|
*/
|
||
|
rLevel: 20,
|
||
|
|
||
|
/**
|
||
|
* @description Title animation curve
|
||
|
* @type {String}
|
||
|
* @default animationCurve = 'easeOutCubic'
|
||
|
*/
|
||
|
animationCurve: 'easeOutCubic',
|
||
|
|
||
|
/**
|
||
|
* @description Title animation frame
|
||
|
* @type {Number}
|
||
|
* @default animationFrame = 50
|
||
|
*/
|
||
|
animationFrame: 50
|
||
|
};
|
||
|
exports.titleConfig = titleConfig;
|