How can I have a line be two different sizes with canvas?
I have a line I am drawing with canvas that I would like to start out with a width of 30 and gradually(proportionally) reduce down to a size ...

I have following Problem.
I´m using a canvas to resize pictures a user uploaded to my webapp.
Then I retrieve the picture from the canvas as a base64 encoded string and try to upload it to the parse ...

I have created a class which extends the View class and I also created two objects of the class Bitmap, one of the abject is an apple image and the other one is a basket for catching the apple and I ...

I am using surface view to display some images and drag and drop them, I want the image size to be adjusted according to the device used, please provide me some advice on how to achieve this. Right ...

Hello I have this canvas and image in it but I need to make it so the canvas wraps the image linked to its size. Right now i have put a test image and put size to be fixed. I want when i put and image ...

I have a canvas on which I am loading a svg image using the function fabric.loadSVGFromURL()
Then I am iterating through each object and adding that to the canvas. Here is my code :
/* Begin - Load ...

I am trying to implement zooming on a canvas which should focus on a pivot point. Zooming works fine, but afterwards the user should be able to select elements on the canvas. The problem is, that my ...

so here is my predicament i cannot seem to find this anywhere on the internet. My question is simple. I am creating a game app for android. The game will generate random circles on the screen that a ...

I've been searching for simple example and solution in stackoverflow, but I couldn't find one. So, I'll ask a new one and my apologies if this question have been asked before.
First, I want to make ...

https://jsfiddle.net/jlpiedra90/3a7cojgw/4/
View the fiddle above for the actual code.
I'm trying to create a basic menu for a 2d canvas game. I'm content with most of it at the moment, as it works ...

I'm trying to create a circular masked overlay using Leaflet 0.8 that is positioned over the users currently location, extending a radius of 1000 meters. Essentially making the map visible around the ...

i would like to achieve a dynamic print preview like the one you can see at http://fineartamerica.com/products/tortoise-house-phil-jaeger-art-print.html
I mean the preview that changes when you select ...

This is sort of a complicated question:
My goal is to take HTML, and export it as a PNG. I read that the best way to do this was to wrap HTML within an SVG and foreignObject element, and draw it on ...

I am using surface view to show some graphics, the problem is that there is a flickering effect when I am moving the figure in the screen, I understand that this is due to double buffering problem, ...

Is there a possibility to manipulate a DOM element instead of or along with bodies on Canvas? Perhaps binding a DOM element to a Body on canvas and update it's position when the body is being dragged ...

everything is mainly explained in the title ill go in as much detail as i can. I am making an android game app i created a unique id for a circle that is drawn in canvas in the DrawingView class since ...

im trying to make a game that when a user clicks on a green button it disappears but when a user clicks on a red button they loose im having trouble displaying multiple random buttons continuously on ...

I am using HTML5 appcache for some app. Openning the app makes the browser cache all files as expected. However, when I open the app within a Facebook Canvas (i.e., as a Facebook App), the appcache ...