-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
simplify.js中,this.path.fillColor = 'none'; this.path.lineWidth = 5; 这两行设置没有效果。线宽还是1px。
cc.Class({
extends: cc.Component,
// use this for initialization
onLoad: function () {
this.path = this.addComponent('R.path');
this.path.fillColor = 'none';
this.path.lineWidth = 5;
this.path.showHandles = true;
cc.eventManager.addListener({
event: cc.EventListener.TOUCH_ONE_BY_ONE,
onTouchBegan: this.onTouchBegan.bind(this),
onTouchMoved: this.onTouchMoved.bind(this),
onTouchEnded: this.onTouchEnded.bind(this),
}, this.node);
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels