draw movable and editable polyon with 8 points over imageview - android

I want to Draw draggable and editable polygon of more than 4 points on image view using canvas. Please help me or provide me a similar link to solve it out. Does anyone knows the solution?
Thanks

Related

Animation a circle around an image view

Hi i want to draw a circle animation around an image view..can any one please help me out..
Thanks
Here is the picture...
I do not know this is what you want to do, but there are several custom views to help your work.
HoloCircularProgressBar
CircularImageView
Otherwise, you should draw a circle around image. Please refer this answer.

draw canvas 3d rectangle

I Have extended View class and override draw method. In draw method I draw rectangle using canvas. but this rectangle is simple I need to show as blow. how can I draw rectangle like shown in below image?
create a Path for the top side using 4 points (moveTo and lineTo) and then draw it with Canvas.drawPath. Do the same for the right side
Here is the link for the HoloGraphLibrary. Just check it.
It has no 3d effect as you want but it has Same ui as you want. You will have to play little to have effect like 3d rectangle.
Try a look and let me know if it do not help you.
Enjoy Coding and All The Best. :)

android canvas draw circles and get touch events

i have been trying to make such a demo where i need to draw many(hundreds of) circle shapes on canvas(or any other way if possible) ,
after drawing the canvas i need to zoom and move it..
and also want to capture the click(touch) event of each shape separately ..
so i know i can get canvas touch event and get x and y positions and check which which circle is touched but i have to draw many circles and as well after zooming and moving the circle's x and y pos is changes so plz help me..
Give me any suggestion how to do this..the way to go..
or if any ANDROID MASTER have done some thing like this..plz plz give me code sample..
thank you all,
good day..
according your requirement you have 2 use one of the android game framework you can find so many game engine check this thread or you can use andengine one of the best 2D game engine in that you can find many example code.
for your requirement just follow the PinchZoomExample from here
any further help comment the question i love to help this prob.

android how to draw on a canvas through touch events

I want to make android-screen as white-board so that by touch on screen I able to draw something on screen.
I know I have to use canvas, Path all these things. But how I can make that screen so that i able to draw a dot there?
For that what should i do with my activity?
How can I do that plz give me some sample code.
Thank you
So maybe you should take a look to this example:
http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/graphics/TouchPaint.html

get pinch to zoom on one single word of a paragraph

how to get pinch to zoom on one single word of a paragraph. I want to get the focus on that particular word after zooming. how do i do it? kindly, help me out
may this help
Image in Canvas with touch events

Categories

Resources