-
... item . color - An instance of Color . hiliteColor hiliteColor_ (color) Set the background Color for the selected item . color - An instance of Color . colors colors_(incolors) Set the background Color for the items. incolor - An Array of C ...
-
... g.setColors( Color .grey, Color .white); ) Changing Appearance setColors(stringBackground,stringColor,listBackground,listStringColor, selectedStringColor,hiliteColor,background) stringBackground - An instance of Color . The background of t ...
-
... y in the view's scale. ticks - An Integer >= 0. ( w = Window .new.front; w.view.background = Color.black; a = SCLevelIndicator (w, Rect (10, 10, 300, 30)); a.numTicks = 11; a.value = 0.5; ) numMajorTicks_ (ticks) The number of ticks in the ...
-
... ter ( \CIMaskToAlpha )]); // grayscale + invert + maskToAlpha = create a mask g.backgroundImage_(a); // set up background image b.applyFilters(g); // create masked image a.free; w = b.plot(freeOnClose: true , background: Color .clear); // s ...
-
... set by setTheme will be used for syntax colorization. If you want to change the background color for the document window and selected text, in order to make them fit with your syntax colorization theme, see the help for the "background" and ...
-
... mouse click. ( w= Window .new; v= UserView (w, w.view.bounds.insetBy(50,50)); v.background_( Color .rand); v.drawFunc={ |uview| Pen .moveTo(0@uview.bounds.height.rand); Pen .lineTo(uview.bounds.width@uview.bounds.height.rand); Pen .stroke; ...
-
... See SCView . returns: [ \bounds , \visible , \enabled , \canFocus , \resize , \background , \minWidth , \maxWidth , \minHeight , \maxHeight , \knobColor , \step , \x , \y ] Examples ( w = Window ( "Slider2D" , Rect (100,100, 140 ,140)); t ...
-
... 4 5 6 7 8 9 " ; a= SCStaticText (w, 200@20).string_( "The quick drowned fox" ).background_( Color .rand).align_( \center ); b= SCButton (w, 200@20).states_([[ "The quick drowned fox" ]]).background_( Color .rand); c= SCPopUpMenu (w, 200@20 ...
-
... Customizing Appearance boxColor boxColor_ (color) This has been deprecated. Use background / background_ instead. See SCView . normalColor_(arg1) normalColor The default is Color.black. You can use the normalColor and the stringColor in com ...
-
... t ( w = SCWindow .new; w.front; // comment this to copy offscreen window w.view.background_( Color .white); w.drawHook = { SCPen .translate(100, 100); 10.do{ // set the Color SCPen .color = Color .blue(rrand(0.0, 1), rrand(0.0, 0.5)); SCPen ...