-
... methods Instance Methods . win The window. . mouse Current mouse position as a Point . . clear Clears the drawing. . close Close the window if open. . width Set Pen stroke width. . strokeColor Set Pen stroke colour. . background Set drawin ...
-
... ) .canUseUMapFunc_({ |unit, key, umapdef| unit.isKindOf( UPattern ).not && { [ Point, SimpleNumber, Array, Symbol ].any({ |class| unit.getDefault( key ).isKindOf( class ) }); }; }) .setSpec( \index, IntegerSpec(0,0,7) ) .category_( 'patter ...
-
... the button is pressed bounds nil = autosizes, number = minWidth, Rect = bounds, Point = width @ height font Returns: this . viewClass private: differentiates between the SimpleLabel implementation in the superclass Returns: GUI.button Inher ...
-
... (parent, bounds) parent - the parent view. bounds - an instance of Rect , or a Point indicating width@height. Subclassing and Internal Methods The following methods are usually not used directly or are called by a primitive. Programmers ca ...
-
... us; a = (r1+r2) * (r1+r2); dx = cA.position[0] - cB.position[0];//distance of x points dy = cA.position[1] - cB.position[1];//distance of y points if (a > ((dx*dx) + (dy*dy)), {^true} , {^false} ); } checkEntityWallCollision{ arg entity, wa ...
-
... ) .canUseUMapFunc_({ |unit, key, umapdef| unit.isKindOf( UPattern ).not && { [ Point, SimpleNumber, Array, Symbol ].any({ |class| unit.getDefault( key ).isKindOf( class ) }) && { UAdaptSpec().canAdapt( unit.getSpec( key ) ) } }; }) .setSpe ...
-
... itude angle phase angles phases x y z real imag asSpherical asPolar asComplex asPoint asCartesian Inherited instance methods Authors Classes (extension) | Math | Libraries > MathLib'>MathLib > MathLib>Cartesian &c.'>Cartesian &c. Spherical ...
-
... ick; Pen.fillColor= Color.black; physics.particles.do{|p| Pen.addOval(Rect.aboutPoint(Point(p.position.x, p.position.y), p.mass, p.mass)); }; Pen.fill; }; win.front; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed ...
-
... ick; Pen.fillColor= Color.black; physics.particles.do{|p| Pen.addOval(Rect.aboutPoint(Point(p.position.x, p.position.y), p.mass, p.mass)); }; Pen.fill; }; win.front; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed ...
-
... ick; Pen.fillColor= Color.black; physics.particles.do{|p| Pen.addOval(Rect.aboutPoint(Point(p.position.x, p.position.y), p.mass, p.mass)); }; Pen.fill; }; win.front; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed ...