Color Queries
Color queries can only be used to retrieve arguments for the SetPenColor and SetFillColor commands. These queries can be used in place of the arguments.
getUserFillColor()
getUserBorderColor()
getUserFontColor()
getUserPenSize()
shape main
{
setfillcolor(getuserbordercolor());
setpencolor(getuserfillcolor());
rectangle(0,0,100,100);
}
The material ("material" includes all pages, documents and on-line graphics) on this web site is protected by copyright law. (C) 1998-2010 Sparx Systems Pty Ltd.