Can the Rect() function be a text box? Alternatively, is there another function that can be used in a graph builder script to create a shape with text?
Slán
SpannerHead
Names Default To Here( 1 ); New Window( "Example", Graph Box( Text Color( "red" ); Text( Boxed, {50, 20}, "Boxed Text" ); ) );
Text() with boxed argument is the correct answer for this, but you can draw multiple elements on top of each other. Order does matter with this and you might have to do some adjustments to coordinates especially if you are using Text()
Names Default To Here(1); nw = New Window("Example", Graph Box( Pen Color("Black"); Fill Color("LightGreen"); Circle({20, 20}, 20, "FILL"); Text Color("Black"); Text(Center Justified, {20, 17}, "centered"); ) );