-
... ng_(" " ++ label) .align_(\topLeft) .font_(Font("Arial", 9)) .stringColor_(Color.grey(0.2)) }; intervals = [ [18, 20, 22, \, 25, 27, \, 30, 32, 34, \], [17, 19, 21, 23, 24, 26, 28, 29, 31, 33, 35, 36, \], [\, ...
-
... )); var mouse, b, c; var physics; var handleBoundaryCollisions; usr.background= Color.white; physics= TraerParticleSystem.new; mouse= physics.makeParticle(1, 0, 0, 0); mouse.makeFixed; b= physics.makeParticle(1, width.rand, height.rand, 0); ...
-
... )); var mouse, b, c; var physics; var handleBoundaryCollisions; usr.background= Color.white; physics= TraerParticleSystem.new; mouse= physics.makeParticle(1, 0, 0, 0); mouse.makeFixed; b= physics.makeParticle(1, width.rand, height.rand, 0); ...
-
... (1..8).collect { |i| Button(q.chantest.win, Rect(0,0,30,30)).states_([[i], [i, Color.black, Color.green]]) .action_({ q.chantest.pink.play(i - 1) }); }; q.chantest.taskgui = TdefGui(q.chantest.task, 4, q.chantest.win); q.chantest.taskgui.n ...
-
... bleFonts The SVGText object contains data text, its printing location, font and color. an SVGText object can hold Strings and SVGTSpan objects. creation SVGText ( string, x, y, fontName, fontSize, fillColor, dx, dy, name, transform ) create ...
-
... ce({window.close}); view = UserView(window, window.bounds); view.background = Color.white; view.resize = 5; view.drawFunc = { |view| var jumpwidth = view.bounds.width / (~numsprings-1); Pen.fillColor = Color.black; Pen.strokeCol ...
-
... t(i * 80 + 5, 240 - (j * 80) + 5, 75, 75)) .states_([["up" + (i + 1 + (j * 4)), Color.black], ["DOWN", Color.black, Color.green]]); } }.flop; q.playButs = q.buts[0][..2]; q.memButs = q.buts[1..].flatten; q.sl = Slider(q.mpdwin, Rect(340, 25 ...
-
... ation, <num_of_panes, <partition, <handle_size, <handle_line_size, <handle_line_color, <panes, <handles, <container, <view; *new {|parent orientation=\horizontal num_of_panes=2 partition=\equal handle_size=10, handle_line_size=2, handle_lin ...
-
... ws. Defaults are taken from GUI.skin.at(\plot); Supported properties: font, fontColor, gridColorX, gridColorY, plotColor (an array), backgroundColor, gridLinePattern, gridLineSmoothing (bool), labelX, labelY, gridOnX (bool), gridOnY (bool) ...
-
... it( name, argBounds, resizable, border, scroll ); // , view ); this.background= Color.black; mouse= RedVector2D[0, 0]; userView= JSCUserView(this, Rect(0, 0, view.bounds.width, view.bounds.height)) .mouseDownAction_{|view, x, y| mouse= RedV ...