static createDashLine(color: number, width: number, height: number = 1): egret.Shape { let $dashLineSp: egret.Shape = new egret.Shape(); $dashLineSp.width = width; $dashLineSp.height = height; $dashLineSp.graphics.lineStyle(height, color, 1.0, false, egret.StageScaleMode.EXACT_FIT, egret.CapsStyle.ROUND, egret.JointStyle.ROUND, 2, [5, 5]); $dashLineSp.graphics.moveTo(0, 0); $dashLineSp.graphics.lineTo(width, 0); $dashLineSp.graphics.endFill(); return $dashLineSp; }