Comments (2)
You can set a default group to which subsequently all graphical objects are added automatically:
Group g = new Group();
g.getWorld().setDefaultGroup(g);
new Circle(200, 300, 100);
new Rectangle(10, 10, 400, 300);
// ...
// later
g.destroyAllChildren();
Your proposal (World.clear()
) would indeed be useful. -> I'll try to implement it.
from online-ide.
Added World.clear()-method.
from online-ide.
Related Issues (20)
- r.istMarke() is crashing interpreter HOT 1
- online-ide.de is down? HOT 4
- Thread.sleep(int ms) HOT 2
- getFontSize() of Text HOT 1
- Sometimes user password is broken HOT 2
- System.nanoTime() HOT 2
- Modulo-Assignment-Operator does not exist HOT 1
- Shareable Link
- BUG - private Konstruktor HOT 1
- Klasse Robot: Bug istWesten() und istOsten() HOT 1
- Monospaced font fΓΌr includeIDE.js HOT 1
- includeIDE.js and online-ide differ in version? HOT 1
- Collision detection in class Turtle HOT 5
- Do not auto-focus the embedded editor HOT 2
- Declarations in Console are blocked HOT 3
- "...extends Thread" and "...synchronized" HOT 1
- two dimensional array visualization as graph HOT 2
- Variables seen only after console input HOT 2
- if renamed, a folder loses all its workspaces after logout HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from online-ide.