Shaped clipping should work everywhere but the problem with it is aliasing. It's inherently aliased so simple backgrounds look horrible. We only use it for fallbacks. You can use the sample in RoundRectBorder to see how we used shaped clipping as fallback. There is a problem with adding a getClip() generally we recommend restoring the clip to the standard rectangle clipping.
Alpha isn't enough for shadow effect, see the round rect border. We use a gradient and blur effect to produce a shadow. -- 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]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/c9e71167-4240-405f-948b-c79aa1cc1383%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
