-
... upper left corner of the window. See also Pen . ( w = Window .new.front; w.view.background_( Color .white); w.drawHook = { "abababababa\n\n\n" .scramble.draw }; w.refresh ) drawAtPoint(point, font, color) Draws the String at the given Point ...
-
... e of Color. The drawing color of the scope. bgColor - An instance of Color. The background color of the scope. // must use internal server s = Server .internal.boot; // create a new analyzer SCFreqScopeWindow .new(400, 200, 0); // basic sin ...
-
... See SCView . returns: [ \bounds , \visible , \enabled , \canFocus , \resize , \background , \minWidth , \maxWidth , \minHeight , \maxHeight , \value , \font , \items , \stringColor, \focusColor ] defaultGetDrag The method called by default ...
-
... See SCView . Returns: [ \bounds , \visible , \enabled , \canFocus , \resize , \background , \minWidth , \maxWidth , \minHeight , \maxHeight , \knobColor , \step , \thumbSize ] Examples See SCSlider , SCRangeSlider , SC2DSlider
-
... p their names Window .allWindows.collect({ arg w; w.name }).postln; ( // change background colors of all open windows Window .allWindows.do({ arg window; window.view.background = Color .new(0.5 + 0.5.rand, 0.5 + 0.5.rand, 0.5 + 0.5.rand); } ...
-
... See SCView . returns: [ \bounds , \visible , \enabled , \canFocus , \resize , \background , \minWidth , \maxWidth , \minHeight , \maxHeight , \value , \font , \items , \stringColor ] Examples See the help files for subclasses such as SCSta ...
-
... ion; //evaluates the action with the content of the text field as an argument a.background_( Color .grey); a.stringColor_( Color .white); a.align_( \center );
-
... See SCView . returns: [ \bounds , \visible , \enabled , \canFocus , \resize , \background , \minWidth , \maxWidth , \minHeight , \maxHeight , \value , \thumbSize , \fillColor , \strokeColor , \xOffset , \x , \y , \showIndex , \drawLines , ...
-
... w.new; GUI .myText.new( w, w.view.bounds.insetBy( 20, 20 )).string_( "schoko" ).background_( Color .red ); w.front; ) If you intend to add extensions from within your own classes upon class library initialization time, the preferred way is ...
-
... ! n; w = Window ( "Julia set" , bounds: Rect (200, 200, xs, ys)).front; w.view.background_( Color .black); w.drawHook = { n.do { |x| n.do { |y| var z = field[x][y]; z = f.(z); field[x][y] = z; Pen .color = Color .gray(z.rho.linlin(-100, 10 ...