android-canvas
Android Paint setShadowLayer() ignores color of its Paint
I\'m trying to create a Bitmap programmatically and am finding drawing a shadowed Rect is ignoring the color arg passed in. I\'ve simplified things down to this case - the code just draws a rotated bl[详细]
2023-04-01 14:47 分类:问答implement Canvas in non-Activity class in Android
I am working on a project that extends the Map Activity class once.This project can only have this one activity.[详细]
2023-03-31 10:34 分类:问答how to load a PNG image on sdcard to a Canvas to draw in Android?
My app is a basic drawing app. User can draw on a Canvas and save the image as a PNG. He can load the earlier drawn images and edit them.[详细]
2023-03-30 03:10 分类:问答Map overlay for osmdroid never appears
I am trying to implement my own map overlay for osmdroid (but I assume it is fairly similar to Google map overlays).[详细]
2023-03-30 02:52 分类:问答Rotating an image gradually from one degree to another
This is my first post, so please bear with me. I\'ll try and be as clear as I can here about my problem.[详细]
2023-03-30 02:39 分类:问答Canvas gamecamera - locationtranslate values messed up by applied canvas scaling
I\'m working on an android game and am currently busy with a gamecamera type of component. The best method seems to be translating the canvas (possibly with a matrix) to move the entire canvas to act[详细]
2023-03-29 12:36 分类:问答Android how to draw line? [duplicate]
This question already has an answer here: Closed 11 years ago. Possible Duplicate: How do you set a line's width when drawing in Android?[详细]
2023-03-28 20:32 分类:问答Rotate canvas along its center based on user touch - Android
I want to rotate the canvas circularly on its center axis based on user touch. Like a old phone dialer .[详细]
2023-03-28 01:44 分类:问答Android ImageView overlay over Opengl ES unexpected behavior
I\'m attempting to add an overlay to an Android opengl ES application, and am currently specifying an ImageView and working off code from SurfaceViewOverlay API Demo, effectively merging two applicati[详细]
2023-03-26 19:03 分类:问答How to redraw the Android Canvas
Can anyone help me on how to redraw the canvas. I tried many examples and source code from the internet, but it still didn\'t work on my PC like the invalidate func, canvas.save, canvas.restore, etc.[详细]
2023-03-26 15:34 分类:问答