AS30

比较少见的绘制虚线的方法

import flash.display.Shape; var separatorShape:Shape = new Shape(); var bitmapFill:BitmapData = new BitmapData(2,1,true,0); bitmapFill.setPixel32(0, 0, 0xFF999999); var g:Graphics = this.separatorShape.graphics; g.clear(); g.beginBitmapFill(bitmapFill); g.drawRect(0, 0,100, 1); g.endFill(); separatorShape.y = 20; addChild(separatorShape);

分类:

技术点:

相关文章:

  • 2021-08-23
  • 2021-11-08
  • 2021-12-10
  • 2021-11-30
  • 2021-10-19
  • 2022-12-23
  • 2021-11-17
猜你喜欢
  • 2022-12-23
  • 2021-12-02
  • 2021-09-11
  • 2021-08-14
  • 2021-09-30
  • 2021-10-30
相关资源
相似解决方案