import griffon.builder.gfx.render.*
import org.kordamp.jsilhouette.geom.*
def gr = new GfxRenderer()
gr.renderToFile("sample1415a.png", 200, 200){
antialias("on")
balloon( x: 80, y: 20, width: 100, height: 100,
fill: color("#c8c0c0"),
tabLocation: Balloon.TAB_AT_LEFT,
tabDisplacement: 0.8,
tabHeight: 10,
tabWidth: 10,
borderColor: color("#808080"),
borderWidth: 2
)
}
出力画像(sample1415a.png)
動作環境
Groovy1.6.5, JDK6 Update16
No comments:
Post a Comment