Comments (2)
Thanks, Matt.
Original comment by [email protected]
on 24 Jun 2011 at 8:09
- Changed state: Accepted
from forplay.
I would suggest changing the playn.java.JavaCanvas method clear() body to:
gfx.setColor(new Color(currentState().fillColor));
gfx.fillRect(0, 0, width, height);
or similarly, instead of (the current implementation):
gfx.clearRect(0, 0, width, height);
as per the JavaDoc for the java.awt.Graphics clearRect(int, int, int, int)
method:
http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Graphics.html#clearRec
t(int, int, int, int)
Original comment by [email protected]
on 5 Nov 2011 at 5:03
from forplay.
Related Issues (20)
- Disallow flipped source coordinates in Surface.drawImage() HOT 1
- Screwy rendering in XNA Platformer on Firefox/Opera
- Replace borrowed DirectInstallLinker with the proper GWT one once it's released HOT 1
- Source rects and clamping cause texture bleeding under scale in WebGL HOT 1
- Java sound setVolume isn't implemented
- Implement consistent cross-platform random number generation
- Java platform tries to run at maximum FPS HOT 1
- Normalize mouse wheel velocities across platforms HOT 2
- WebGL alpha blending is incorrect (premultiplied alpha issue) HOT 4
- Android asset manager needs consistent error handling
- Android image loader uses BitmapOptions for URLs, but not resources
- HtmlNet needs to support CORS in IE9: try XDomainRequest when XMLHttpRequest fails
- GroupLayerImplTest isn't GWT-compatible
- Create project generator by maven HOT 1
- Pause Listener Suggestion
- Two blank projects on import
- setDepth doesn't work in HTML/DOM mode HOT 1
- Load MP3 files
- Proof of Concept for 3D Support (Primitives, Scene management) on Opengl backends 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 forplay.