canvas
iOS 5 javascript events not bubbling
Anyone else seeing JavaScript event issues in the iOS 5 version of UIWebView? My app has 2 \"layers\" that cover the screen.A canvas tag as a background, and an svg shape in the foreground.Both have[详细]
2023-04-12 21:11 分类:问答Is putImageData faster than drawImage?
I think putImageData is faster than drawImage, but I need to prove it. I guess it is the same case as with Flash and its Bitmap and BitmapData classes. Basically, BitmapData facilitates a non-visual[详细]
2023-04-12 16:37 分类:问答How to move only one image on canvas
I have about 10 images I draw on canvas in html5. Then, I would like to move the first image only, the other one should remain in place. here is the code :[详细]
2023-04-12 16:03 分类:问答Image editing with javascript
In the creation of my html5 game engine I\'ve been able to do some nice things and get some cool features. On a contract to make a game I\'ve been asked to see if I can remove the background color fro[详细]
2023-04-12 14:51 分类:问答Create Canvas handling events
I have a canvas , which have rectangles dynamically created in the code . (Around more then 100 rectangles .) I would like to have the event handling created for all the recatngles .[详细]
2023-04-12 12:55 分类:问答Mouse event listener & "this"
I\'m now trying to register a mouse event listener on a canvas element. As my JS application object initializes, it binds mouse events to a custom \"MouseController\" class:[详细]
2023-04-12 08:26 分类:问答How to place an image behind other drawings on Canvas?
I am using Canvas in HTML5. I load some images a开发者_Python百科nd then would like to draw some lines and such on top of them.[详细]
2023-04-12 08:06 分类:问答Rotating HTML5 canvas slow?
I\'m experimenting using rotation on canvas, I have it now so each object has its own rotation. Without them rotating I can get around 400 objects on screen on a very low end computer and nearly 2000[详细]
2023-04-12 07:54 分类:问答Android - canvas onDraw does not fire
I am trying to add a canvas view to a relative layout inside a horizontal scroll view. <?xml version=\"1.0\" encoding=\"utf-8\"?>[详细]
2023-04-12 07:32 分类:问答Android: Update custom surfaceview canvas between two states
I have a custom SurfaceView defined in my layout xml. I can draw to the canvas no problem with an associated external class which extended SurfaceView. However, my aim is to draw an initial state (let[详细]
2023-04-12 07:22 分类:问答