import griffon.builder.gfx.render.*
def gr = new GfxRenderer()
gr.renderToFile("sample1423a.png", 200, 200){
antialias("on")
star( cx:100, cy:100, count:5, ir:20, or:80,
fill: color("#c8c0c0"),
borderColor: color("#808080"),
borderWidth: 2,
angle:10
)
}
出力画像(sample1423a.png)
動作環境
Groovy1.6.5, JDK6 Update16
No comments:
Post a Comment