android-canvas
Canvas and bitmap
I have a canvas and I am drawing bitmap into it and moving that bitmap using onTouchEvent method. My problem is that the bitmap I move sometimes go out of the开发者_JS百科 canvas region so how to solv[详细]
2023-04-12 05:10 分类:问答Is there a way to extract a Canvas or Bitmap from a View?
I have this class that extends View and draws a line: public class MyDraw extends View { Paint paint = new Paint();[详细]
2023-04-12 05:01 分类:问答How to draw a transparent circle?
I\'m trying to draw a tra开发者_开发问答nsparent circle, but it just doesn\'t work. when I\'m drawing a bitmap it works, but a circle doesn\'t become transparent.[详细]
2023-04-10 07:00 分类:问答How can I draw an animated view in android?
I created a custom view from scratch. Extended View and overrided onDraw(). When comes down in animating the view i generate a custom animation using offsets.[详细]
2023-04-09 14:32 分类:问答Zoom effect on Android SurfaceView
I am developing a Car Race Game. I am able to move, stop, accelerate. But i want that when i press screen then car(bitmap of car image) should look like, it had jumped on its place.I am using surfacev[详细]
2023-04-08 23:34 分类:问答General Android semi transparent bug
I use anti aliasing to make my images more smooth. When using anti aliasing a dark border will be drawn around the images. This happens because Android uses the color black and mixes it with the yello[详细]
2023-04-08 03:32 分类:问答Android: How can I achieve/draw an arrow and put a text on top of it using Canvas/Paint?
I want to achieve the below picture (i made it via excel). Here are the requirements: arrow down shape \"GOAL\" text on top of it[详细]
2023-04-07 14:40 分类:问答Get Canvas coordinates after scaling up/down or dragging in android
I\'m developing an application in which I\'m pasting images, doing drawing and painting on canvas. This app can also Scale up/down the canvas or drag it to different location.[详细]
2023-04-07 13:20 分类:问答Save Canvas Drawing on Image in Android
I\'m working on an applicati开发者_如何学Goon in which I\'v a custom ImageView. Using custom imageview I can drag,zoom, and paste text over over it (using its onDraw() function). Now at the end I want[详细]
2023-04-06 21:26 分类:问答Is it possible to display image in its original size without getting resize so as to fit the screen in android?
I tried to display an floor plan on the 开发者_如何转开发android emulator but the image displayed is always resize to fit the screen when i run the apps. Is that ways where i can display the image wit[详细]
2023-04-05 11:08 分类:问答