Ticket #3574: addClassAnnotation.mos
File addClassAnnotation.mos, 541 bytes (added by , 9 years ago) |
---|
Line | |
---|---|
1 | loadString("connector In = input Real annotation (Icon(graphics={ |
2 | Polygon( |
3 | lineColor={0,0,127}, |
4 | fillColor={0,0,127}, |
5 | fillPattern=FillPattern.Solid, |
6 | points={{-100.0,100.0},{100.0,0.0},{-100.0,-100.0}})}));"); |
7 | getErrorString(); |
8 | list(In); |
9 | addClassAnnotation(In, annotate=Icon(graphics={Polygon(lineColor={0,0,127},fillColor={0,0,127},fillPattern=FillPattern.Solid,points={{0,50},{100,0},{0,-50},{0,50}}),Rectangle(lineColor={0,0,255},fillColor={0,0,255},extent={{-100,100},{100,-100}})})); |
10 | getErrorString(); |