yab | yet another Basic for HAIKU

Full Version: setting RECT color
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a RECT on my view. How do I set the RECT color to 184,184,184? I've tried DRAW SET, but that usually just changes global colors (BG, HighColor, LowColor). Do I use FillorStroke and what would that look like? There's no example on Besly. Thanks Smile
#!yab

window open 100,100 to 400,400, "Example", "Example"
draw set "HighColor", 184,184,184 , "Example"
draw set IsStroke, "HighSolidFill"
draw rect 10,10, 290, 290, "Example"
sleep 7
window close "Example"
Free Web Hosting