import griffon.builder.gfx.render.*
def gr = new GfxRenderer()
gr.renderToFile("sample1413.png", 200, 200){
antialias("on")
arc( x: 0, y: 0, width: 198, height: 198,
start:15, extent:150,
borderColor: color("#cccccc"),
borderWidth: 2,
fill: color("#7799ff"),
close: "pie"
)
}
出力画像(sample1413a.png)
No comments:
Post a Comment