[LayaNative 1.0]graphics绘制边框 梅点击一次旋转30°后边框位置偏移
let sp = new Laya.Sprite();
drawArr = [startX, 0, this.width, 0, this.width - startX, this.height, 0, this.height];
sp.graphics.drawPoly(0, 0, drawArr, fillColor, this.m_vo.c_StrokeColor, this.m_vo.c_StrokeThickness);
drawArr = [startX, 0, this.width, 0, this.width - startX, this.height, 0, this.height];
sp.graphics.drawPoly(0, 0, drawArr, fillColor, this.m_vo.c_StrokeColor, this.m_vo.c_StrokeThickness);
没有找到相关结果
已邀请:
要回复问题请先登录
0 个回复