fillColor
fillColor 属性设置或返回用于填充的颜色。
实例
var ctx = node.getComponent(cc.GraphicsComponent);
ctx.fillColor = new cc.Color().fromHEX('#0000ff');
ctx.rect(20,20,250,200);
ctx.stroke();

fillColor 属性设置或返回用于填充的颜色。
var ctx = node.getComponent(cc.GraphicsComponent);
ctx.fillColor = new cc.Color().fromHEX('#0000ff');
ctx.rect(20,20,250,200);
ctx.stroke();
