22
2018
05

Egret教程 egret.Shape 显示对象绘制图形

private drawGrid() { // 绘制     //指定填充色开始填充     this.graphics.beginFill(0x000ff);     //绘制矩形,指定位置和宽高     this.graphics.drawRect(0, 0, 50,