Ticket #3574: addClassAnnotation.mos

File addClassAnnotation.mos, 541 bytes (added by Adeel Asghar, 9 years ago)
Line 
1loadString("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}})}));");
7getErrorString();
8list(In);
9addClassAnnotation(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}})}));
10getErrorString();