test04.py
来自「Ming is a library for generating Macrome」· Python 代码 · 共 18 行
PY
18 行
#!/usr/bin/pythonfrom ming import *Ming_useSWFVersion(8);m = SWFMovie();bitmap = SWFBitmap("../Media/image01.dbl")shape = SWFShape()fill = shape.addFill(bitmap, SWFFILL_CLIPPED_BITMAP)shape.setRightFill(fill)shape.setLine(1, 0, 0, 0, 255)shape.drawLine(100, 0)shape.drawLine(0, 100)shape.drawLine(-100, 0)shape.drawLine(0, -100)m.add(shape)m.save("test04.swf")
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?