To set the script drawing line colour of a frame named MyFrame using a string:
MyFrame.SetLineColour("green")
To change the script drawing line colour of a frame named MyFrame using a hex value:
MyFrame.SetLineColour("#7F5D9A")
// a purplish colour
To change the script drawing line colour of a frame named MyFrame using the RGB function:
MyFrame.SetLineColour(RGB(200,98,33))
// or
var newColour = RGB(200,98,33)
MyFrame.SetLineColour(newColour)
To change the script drawing line colour of a frame named MyFrame by the amount of red, green and blue:
MyFrame.SetLineColour(240,120,60)
// or
var red = 240
var green = 120
var blue = 60
MyFrame.SetLineColour(red, green, blue)
To remove the script drawing line of a frame named MyFrame:
MyFrame.SetLineColour(-1)
To change the script drawing line colour of a frame named MyFrame and set the line’s transparency, use any of the syntaxes previously described, adding the opacity parameter. For example:
MyFrame.SetLineColour( RGB(200,98,33), 10 );
MyFrame.SetLineColour( "#7F5D9A", 94 );