|
ArrowShape in CDML |
Posted by Mo on Nov-23-2016 20:13 |
|
Hi,
I can get all the built-in symbols to work in CDML except the ArrowShape. My best guess is that's due to the presence of commas used in specifying its multiple parameters, which are affecting the parsing of the CDML (I could be wrong):
DrawArea.text("<*img=@Arrow(0,1,0.5,0.5),color=000000*>", 'normal', 8, 0, 0, 0);
Is there a way to make the above work?
Also, the edgeColor parameter seems to have no effect on any of the symbols.
I would be appreciative of any help.
Many thanks |
Re: ArrowShape in CDML |
Posted by Peter Kwan on Nov-24-2016 03:31 |
|
Hi Mo,
Unluckily, currently the ArrowShape is not supported in CDML.
For the edgeColor, I have tried the followings and it works in my computer:
c.addTitle("AAA <*img=@Triangle,color=FFAA00,edgeColor=0000FF,width=15*> BBB");
The triangle symbol above does have a blue edge with an orange fill color.
Regards
Peter Kwan |
Re: ArrowShape in CDML |
Posted by Mo on Nov-24-2016 04:01 |
|
Thank you very much for the excellent support, Peter. |
|