-
... SCCompositeView(w,Rect(30,30,300,300)); c.relativeOrigin = true; c.background = Color.blue; t = GUI.compositeView.new(c,Rect(100,100,100,100)); t.relativeOrigin = false; t.background = Color.white; w.front; // absoluteBounds gotten directly ...
-
... y.fill(512, 0)) //.value_(spectralsl) .isFilled_(true) .canFocus_(false) .strokeColor_(Color.new255(10, 55, 10)) .fillColor_(XiiColors.darkgreen) .background_(XiiColors.lightgreen) .valueThumbSize_(0.0) .indexThumbSize_(1.0) .gap_(0) .actio ...
-
... on, <>drawSize, <>headingStack, offspring; var win, view, drawRoutine, <>speed, colorFunc; var willDraw, penDown; *new {|argStartPoint, argInitHeading, argAngle, argWinBounds, argColor| ^super.new.init ( argStartPoint, argInitHeading, argAn ...
-
... statsDict ; // counts each vertex occurence var <>colFact ; // a multiplier for color scaling var <>auto ; // for autoscaling var <>lviewdim; //for painting listener area var <> windowx, windowy, windowWidth, windowHeight; //for controlling ...
-
... 00, 0, 480, 400)) .front .onClose_{ hasGUI = false; }; window.view.background = Color(0.918, 0.902, 0.886); view = SETOServerView(window, Rect(5,5,390,370), this); // view.background = Color(0.81960784313725, 0.82352941176471, 0.87450980392 ...
-
... nstance methods makeWindow type width height background aspectRatio depth globalColorMap controls comments appId appCode appData images read resolution sorted Inherited instance methods Examples Classes (extension) | Red > redTools'>redTool ...
-
... y view can be a container Layout management Intrinsic view sizes Layout classes Color management The palette Predefined palettes View actions and hooks Mouse and key event propagation Extended mouse interaction Hooks for position and size c ...
-
... ///// PREPARATION /////// pscale = vw.pixelScale.x; Pen.width = pscale / 2; Pen.color = Color.gray.alpha_(0.25); [0.25,0.5,0.75].do({ |item| Pen.line( 0@(bounds.height * item), (bounds.width)@(bounds.height * item) ); }); Pen.stroke; Pen.wi ...
-
... * sin(phi); verts[index].z = cos(phi); } } */ Canvas3DItem { var <>paths; var <>color; var <>width; var <>transforms; var <>fill = false; *new { ^super.new.init; } *cube { ^this.new.paths = #[ [[-1,-1,-1],[1,-1,-1],[1, 1,-1],[-1, 1,-1],[-1, ...
-
... t*0.5).rand.round(50)+(height*0.4)]); }.dup(nRocks); //--loop w.draw{ Pen.strokeColor= Color.grey(0.7, 0.9); objs.do{|o, i| o.addForce(o.world.gravity); //add gravity objs.copyToEnd(i+1).do{|oo| o.collide(oo)}; o.update; //object update wor ...