Top "Android-canvas" questions

The Android Java Canvas (android.

Understanding Canvas and Surface concepts

I'm struggling to understand the process of drawing to SurfaceView and therefore the whole Surface/Canvas/Bitmap system, which is …

android android-canvas surfaceview
Using clipRect - explanation

public class POCII extends Activity { myView mv = new myView(this); @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(…

android android-canvas android-view
Understanding how actually drawRect or drawing coordinates work in Android

I am trying to draw a rectangle over a canvas and I am facing troubles to understand the in-depth of …

android android-layout android-canvas
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
Drag and move a circle drawn on canvas

I am working on an Android application which should allow user to draw a circle on canvas and drag it . …

android android-canvas
Android View inflateException

I'm trying to create a custom view - finger paint, and I'm having trouble with this error and I don't …

android android-canvas android-view android-custom-view android-inflate
What does top, left, right and bottom mean in Android Rect object

I have an Android project where I should make Apples fall. The apples are painted in a Rect. So I …

android android-canvas android-view android-shape
How to set canvas size?

I have a class named SeatsPanel where I draw seats (using drawRect) in the onDraw method. The onDraw method uses …

java android android-canvas ondraw
How do I draw bold text on a Bitmap?

I want a Bitmap icon with bold text to draw it on map. I have a snippet to write text …

android bitmap android-canvas paint
How to get current canvas?

I have DrawView. If I touch this view it draws small circles. I wont to draw circles but not to …

android view android-canvas