Top "Draw" questions

A tag for questions about methods of displaying graphical data or images.

Android canvas draw line - make the line thicker

This seems like it should be somewhat trivial, however in my android app, I am using canvas to draw a …

android graphics drawing draw android-canvas
Android: looking for a drawArc() method with inner & outer radius

I have the following custom view: This I have achieved by using the Canvas' drawArc() method. However, with this drawArc() …

android 2d draw geometric-arc
How to draw a triangle, a star, a square or a heart on the canvas?

I am able to draw a circle and a rectangle on canvas by using path.addCircle() and path.addRect(). And …

android draw shapes
How to draw to screen in c++?

How would I draw something on the screen ? not the console window but the entire screen, preferably with the console …

c++ screen draw invisible
100x100 image with random pixel colour

I'm trying to make a 100x100 image with each pixel being a different random colour, like this example: I've tried …

python image matplotlib python-imaging-library draw
clearRect function doesn't clear the canvas

I'm using this script on the body onmousemove function: function lineDraw() { // Get the context and the canvas: var canvas = document.…

javascript line draw onmousemove
Formatting legend and axis in Google Charts

I'm new with Google Charts and I am not able to obtain a fine result with the texts surrounding the …

javascript graph draw google-visualization
Animate a Canvas circle to draw on load

OK Hello. I've decided to start using HTML canvas for a small project I have. There's no real start yet. …

canvas jquery-animate draw radial
Draw circle (using pixels applied in an image with for loop)

I want to draw a circle (with 1 or 2 for loops) using pixels position (starts from top left and ends at …

java image draw geometry
How do I draw an arrowhead (in Android)?

I'm fairly new to Android and have been toying around with Canvas. I'm attempting to draw an arrow but I'm …

java android draw shape