Top "Paint" questions

The act of displaying a GUI component on a screen output device

How to get the pixel color on touch?

I know this is a common question and there are a lot of answers of this question. I've used some …

iphone ios touch paint pixel
creating clickable "buttons" c++

hey i am trying to basically just make a button in my little console application which can be pressed. here's …

c++ button console paint
How to prevent Android's drawBitmap from only drawing black images?

As per the original question, The end result is a rounded-rect png in an ImageView with a natural looking drop …

android paint blur shadow drawbitmap
What is use of super.paint(g)?

Can someone explain me what is the use of super.paint(g) where, g is a Graphics variable in Applets …

java applet awt paint super
Paint with Swing Java

first of all hi everyone! I'm having a big problem with this: i need to build a program which consist …

java paint paintcomponent repaint jlayeredpane
Android: Measure Text Height on a Canvas

I am currently working on rendering a Bitmap, that I then want to send to a mobile printer. However, I …

android paint android-canvas
Trying to create an Eraser Paint for canvas

I am creating a drawing app that utilizes the DrawingSurfaceView class below. In that class i have a Paint Called …

android android-canvas paint
Drawing a line with a certain pixel width

I would like to display X/Y data on a canvas using lines with a certain width (in pixels, or "…

android canvas paint stroke
Android FingerPaint Undo/Redo implementation

I'm working on a test project which is something similar to FingerPaint example in Android SDK Demos. I was trying …

android paint android-view
Draw Text on Canvas at Angle

How can i draw text on canvas as shown in below image highlighted in Green rectangle . I have done following …

java android paint android-canvas