*Egret 多边形数据图 在游戏中经常会遇到角色能力图的功能,主要实现为绘制多边形遮罩 设置背景图的父物体遮罩从而实现多边形数据能力图 为大佬呈上关键代码: //画出数值图形 list:需要设置的点 private drawLine(list) { let len = list.length; this.shp.graphics.clear(); this.shp.graphics.lineStyle(1, 0xff0000); this.shp.graphics.beginFill(0xff0000) this