That tool doesn't cover the full breadth of SVG and doesn't support animations. It's mostly meant for simple things like logos and icons. If you have an SVG animation you'd need to re-code it using graphics/components or animate it as a GIF and the animated gif cn1lib (I don't recommend that but it is the simplest approach).
On Wednesday, August 5, 2020 at 3:23:03 PM UTC+3 [email protected] wrote: > I tried to convert the SVG image with tool which you recommend the first > thing what I was facing > is that the result code is uncompilable. There is part > > shape = new Rectangle2D.Double(0, 0, 128, 128); > > But there is not subclass Double in Rectangle2D class. > > When I commented out this code the result doesn't looks like the original > input the first thing it is not > animated the second thing that the background is black instead of > transparent. > > > > > On Wednesday, August 5, 2020 at 4:05:37 AM UTC+2, Shai Almog wrote: >> >> We support SVG through this tool: >> https://www.codenameone.com/blog/flamingo-svg-transcoder.html >> >> You can also convert it to PNG or multi-image >> On Tuesday, August 4, 2020 at 9:09:17 AM UTC+3 [email protected] wrote: >> >>> Thank you ... one more question ... how can I add svg as a splash screen >>> ... In designer from the menu information message >>> pops up that this is not supported and from the right side menu panels >>> after adding svg designer hangs. >>> >>> >>> On Tuesday, August 4, 2020 at 4:52:42 AM UTC+2, Shai Almog wrote: >>>> >>>> Hi, >>>> be careful with derive. You can create a cyclic dependency easily and >>>> trigger a failure. We suggest using it sparingly. >>>> >>>> If you use millimeter sizes things should be fine. Notice that the >>>> sizes in pixels will be different and will look different in the simulator >>>> but on the devices they should look similar due to DPI differences between >>>> the devices. >>>> >>>> On Monday, August 3, 2020 at 4:16:38 PM UTC+3 [email protected] >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> I'm facing the issue with styling the application I'm working on. The >>>>> style which I created looks >>>>> different on various devices. How can I arrange the proportional >>>>> chnage of text on larger screen >>>>> (see attached file, it is created on simulator ... The bigger screen >>>>> the smaller text). >>>>> >>>>> When I used cn1-derive tag in css file I get repeating error message >>>>> on console >>>>> CSS> Compile of C:\projects\TestApp\css\theme.css failed >>>>> CSS> java.lang.StackOverflowError >>>>> CSS> at >>>>> com.codename1.designer.css.CSSTheme$Element.getFlattenedStyle(CSSTheme.java:3166) >>>>> >>>>> Thank you for your response >>>>> >>>> -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/5ac015c7-dc00-4cae-9d9f-44bd7d83e321n%40googlegroups.com.
