Re: How to have a RenderedDynamicImageResource with transparent background?

2017-04-18 Thread Joseph Fan
.fill(rect); graphics.setColor(Color.RED); graphics.drawString("测试", 10, 10); return true; } })); -- View this message in context: http://apache-wicket.1842946.n4.nabb

Re: How to have a RenderedDynamicImageResource with transparent background?

2009-10-28 Thread Michael O'Cleirigh
Hi Reinhard, You need to seperate your image generating logic from the wicket Image Resource. I'd create a test program or unit test to build verify that the image you want is being built correctly and then bind it into wicket. For example you can just use a BufferedDynamicImageResource wit

How to have a RenderedDynamicImageResource with transparent background?

2009-10-28 Thread Reinhard Vornholt
Hello, I like to have a RenderedDynamicImageResource with a transparent background. I tried serveral things google came up with. But none worked so far. Let me show you what I do: public RenderedDynamicImageResource getCity(final Long cityId){ RenderedDynamicImageResource