Top "Android-canvas" questions

The Android Java Canvas (android.

Drawing on Canvas and save image

I am new to the Android Graphics class. I want to draw an image(actually a signature kind) using the …

android graphics android-canvas handwriting
How to set gradient style to paint object?

The code for drawing an arrow with Style: Fill is given below: paint.setColor(Color.parseColor("#bdc0dc")); paint.setStyle(…

android android-canvas gradient
How to draw a path on an Android canvas with animation?

I'm making an Android app and I've got a tricky thing to do. I need to draw a path on …

android android-animation android-canvas
Android canvas fill background color (Canvas application)

By having the following codes, I have some questions. public class MainActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { …

android android-canvas paint surfaceview
Saving canvas to bitmap on Android

I'm having some difficulty with regards to placing the contents of a Canvas into a Bitmap. When I attempt to …

java android android-canvas bitmapfactory
Loading a resource to a mutable bitmap

I am loading a bitmap from a resource like so: Bitmap mBackground = BitmapFactory.decodeResource(res,R.drawable.image); What I …

android bitmap out-of-memory android-canvas mutable
How can I get the bitmap of the canvas I get in onDraw?

How can I create the bitmap from the canvas of custom view.

android android-canvas
Can I draw with antialiasing on canvas?

Can I draw with anti-aliasing on canvas? I need my circles and line have smooth edges.

android graphics android-canvas antialiasing
Bezier curve and canvas

How I can draw bezier curve in canvas. I have only start point and end point. I want to draw …

android android-canvas
How to draw filled triangle on android Canvas

I have class MyView that extends View class. MyView should draw filled triangle. I drew a triangle but I cannot …

android android-canvas shape