Is there more information/examples about OnScreenCurve, OnScreenHandle and OnScreenText?

These seem like great functions to help user interactions, but the best I could manage so far was a very specifically sized and colored text box

'Gotta have some shape set as S
Dim Test As New OnScreenText
Test.SetTextAndPosition "This is the bad shape!", S.CenterX, S.CenterY
Test.SetTextColor (RGB(255, 0, 0))

The SetTextColor command did nothing (I may be using the wrong colort type, but there was no error message). The font is fairly specific and small.

Is there more information or examples of these functions anywhere? Ideally I would like to draw a box around corrupt shapes, for example. Or even better an outline to the shape, etc.

But how?