-
... rg/licenses/>. */ UChainEventView : UEventView { var <fadeAreaHeight; ifIsInsideRect{ |mousePos, yesAction, noAction| if(rect.containsPoint(mousePos)) { yesAction.value; } { noAction.value; } } ifIsInResizeFrontArea{ |mousePos, fadeInAreaBi ...
-
... , columns, rows); } initBoxGrid { arg w, argbounds, argcolumns, argrows; var p, rect, pen; lazyRefreshFunc = { this.refresh; refreshDeferred = false; }; bounds = argbounds ? Rect(20, 20, 400, 200); bounds = Rect(bounds.left , bounds.top , b ...
-
... Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. ( w = Window .new; v = HLayoutView (w, Rect (10,10,300,300) ); Array .fill( 10, { arg i; Slider ( v, Rect (0,0,20,75) ...
-
... artAngle, arcAngle, size, widthDiv2, aw; var knobPosition, n, realKnobSize; var rect, drawBounds, radius; var baseRect, knobWidth; var center, strOri; var bnds; // used with string Pen.use { rect = this.drawBounds; drawBounds = rect.insetBy ...
-
... parent, bounds) }); } *arrayNew { |parent ... argsArray| ^this.multiNew(parent, Rect.multiNew(*argsArray) ); } *series { |parent, bounds, size = 4, step| bounds = bounds ? Rect(10,10,80,20); step = step ? (0@30); case { step.class == Point} ...
-
... nherited instance methods Examples ( q = 10; w = Window.new; v = VLayoutView(w, Rect(10, 10, 300, 300)); Array.fill(q, { |i| Slider(v, Rect(0, 0, 75, 20)).value_(i / q) }); w.front ) // show the area of the view. v.background_(Color.rand) / ...
-
... Field .gradFieldF; g.doSomething; // explanation g.cleanUpMethod; asSCImageUni (rect, hsize, res, contrast, color, t) Short prose description of method. rect - Explanation of rect. Default value is nil. Other information. hsize - Explanatio ...
-
... rg/licenses/>. */ UChainEventView : UEventView { var <fadeAreaHeight; ifIsInsideRect{ |mousePos, yesAction, noAction| if(rect.containsPoint(mousePos)) { yesAction.value; } { noAction.value; } } ifIsInResizeFrontArea{ |mousePos, fadeInAreaBi ...
-
... unds. bounds.isNil.if{ bounds = w.asView.bounds.moveTo(0,0); }; bounds=bounds.asRect; // allows you to use a Point for the bounds. ( \TabbedViewView.asClass.notNil && (GUI.id == \qt) ).if{ view = TabbedViewView(w,bounds).resize_(resize); }{ ...
-
... SatCol = Color.red(1, 0.4); satCol = Color.red(1, 0.6); swapXYFunc = { |bounds, rect| var newtop = bounds.height - rect.left; Rect(rect.top, newtop, rect.height, rect.width.neg); }; } *new { |parent, bounds| ^super.new.init(parent, bounds); ...