Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加字体可自定义参数控制 #101

Merged
merged 1 commit into from
Jun 16, 2021
Merged

增加字体可自定义参数控制 #101

merged 1 commit into from
Jun 16, 2021

Conversation

ixqbar
Copy link

@ixqbar ixqbar commented Jun 15, 2021

Vap增加全局参数fontStyle

方式一

fontStyle: function(ctx, item) {
  ctx.font = '60px Arial'
  ctx.fillStyle = 'blue'
},

方式二

fontStyle: '60px Arial',

方式三

fontStyle:{font: '60px Arial', color: 'blue'},

@hujinliang hujinliang merged commit f4fd132 into Tencent:master Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants