Hello,
How to change Drawing order in code? For example, I've got a panel with some elements, by some event on that panel will adding Symbols. They will be before initialized elements. How can I set old elements to the top (z-orientation)?
Thank you.
Drawing order in code
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: Drawing order in code
A symbol is always placing the shapes in the layers where they were drawn, but the single shapes are just appended to the list of existing shapes per layer, which means they are always on top of existing shapes.
So what you can do is to use a layer with a higher number in the panel you add via addSymbol()
So what you can do is to use a layer with a higher number in the panel you add via addSymbol()