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

LinearGradient 是不是应该叫 LinearGradientBrush #28

Open
peterlevel1 opened this issue Mar 25, 2017 · 1 comment
Open

LinearGradient 是不是应该叫 LinearGradientBrush #28

peterlevel1 opened this issue Mar 25, 2017 · 1 comment

Comments

@peterlevel1
Copy link

src/graphic/lineargradient.js
return require('../core/class').createClass('LinearGradientBrush', {

src/kity.js:
LinearGradient: require('./graphic/lineargradient'),

demo 和 example很多用到了这个方法。。。
比如:
demo/clock.js:
this.fill(new kity.LinearGradientBrush().pipe(function() {
应该是 this.fill(new kity.LinearGradient()

@sgalcheung
Copy link

还有 RadialGradientBrush => RadialGradient

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

No branches or pull requests

2 participants