Hi!
Is there a possibility to specifiy a drawOrder relative to an other graphics???
Thanks!
Solved! Go to Solution.
Thanks Norbert. If you have some time, could you please post the idea on our Ideas Portal (ideas.arcgis.com) so that others can see and vote on the enhancement request?
Thank you!
related to EsriRuntimeQt SDK (C++)
Hey Norbert-
Can you use drawOrder() to get the draw order of the graphic you want to be relative of, then either put your other graphic above or below that using updateGraphic()?
-Luke
Hi Lucas!
I understand that you also didn´t find an call for doing as desired?
Regarding your idea:
Interesting - but:
If i have to put a graphic below an other graphic ( drawOrder() returns '0' ) it will fail, because the drawOrder can`t be less then 0....
I will solve this by defining an absolute drawOrder internally for the composition of graphics:
Primary graphic and two secondary graphics, one below and the other above the primary.
The drawback is
- that the internal drawOrder differs from the external....
- that this will fail, if int_max is exceeded - i hope that this will never happen...
Interpret my question as a suggestion for ongoing releases - if you want.
Thanks!
Opps, i recognized that the drawOrder can be negative!
(But that does not change my mind.)
Thanks Norbert. If you have some time, could you please post the idea on our Ideas Portal (ideas.arcgis.com) so that others can see and vote on the enhancement request?
Thank you!
Hi Lucas!
Done:
Title: Relative drawOrder of composite objects/graphics
Link: