Deprecated methods in generated Java code from SVG (Flamingo)

10 views
Skip to first unread message

P5music

unread,
Dec 4, 2020, 5:14:43 AM12/4/20
to CodenameOne Discussions
I am receiving this kind of warnings:

java: scale(int,int) in com.codename1.ui.Image has been deprecated
java: getTransform() in com.codename1.ui.Graphics has been deprecated

I have many icons in my app that were created with Flamingo tool out of SVG files (to Java code).
How to replace the deprecated methods?
scale() 
getTransform()

Thanks in advance

Shai Almog

unread,
Dec 5, 2020, 2:09:44 AM12/5/20
to CodenameOne Discussions
In those cases I wouldn't touch that code. We used the deprecated methods despite the deprecation.
Reply all
Reply to author
Forward
0 new messages