开发者

SVG implementation in LWUIT

开发者 https://www.devze.com 2023-03-03 22:59 出处:网络
Can anyone tell me how to implement SVG in LWUIT application 开发者_StackOverflowwith some example code.? This will only work for MIDP devices, before Display.init() invoke:

Can anyone tell me how to implement SVG in LWUIT application 开发者_StackOverflowwith some example code.?


This will only work for MIDP devices, before Display.init() invoke:

com.sun.lwuit.impl.midp.SVGImplementationFactory.init();

Notice that if you use SVG images in the the latest resource editor (http://lwuit.blogspot.com/p/installing-latest-and-greatest-resource.html) it will work seamlessly regardless of SVG support since LWUIT's resource editor auto-generates fallback PNG's for unsupported devices and you can specify multiple resolutions for the fallbacks.

0

精彩评论

暂无评论...
验证码 换一张
取 消