Android Question Draw 3-10 points polygon

herryj

Member
Licensed User
Hi, just wanna ask a library or built in lib that can able to create a polygon.

PS:
can I use the lib googleMapsExtras POLYGON types to create a polygon alone? without the googlemaps?
I want it to display on the activity only.

Looking forward to your responses.

Sincerely
 
Last edited:

herryj

Member
Licensed User
Hi klaus,
I got it and I was supposed to edit this post :)
I used canvas to draw polygons,

What exactly do you want to do with the polygon ?
and as for this, I want to form an object made of polygons. :)

Well, thanks anyway.
 

klaus

Expert
Licensed User
I want to form an object made of polygons.
Sorry, don't really understand.

From your first post:
I want it to display on the activity only.
If you draw with a Canvas onto the Activity you won't have an object.
What do you want to do with the object ?
 

herryj

Member
Licensed User
This is what i mean :)
out from the polygons i've created, I was able to form the image attach.
Screenshot_2015-02-09-00-16-35.png


PS:
Can I ask for a little idea.On how to do it, that if I drag the object in the specific part inside the red area. It will automatically fit in or snap in.
 

herryj

Member
Licensed User
PS:
Can I ask for a little idea.On how to do it, that if I drag the object in the specific part inside the red area. It will automatically fit in or snap in.
 

klaus

Expert
Licensed User
From your post #5, I understood that you solved what you wanted.
You need to be much more clear on what you want to do, I still don't understand.
What object are you speaking of ?
 

herryj

Member
Licensed User
Sorry I confuse you, My apology.

I already creates a polygons, and made a kind of object (object I mean is like boat, book, candle, etc.) out of it. And now what I want to do next is. I have this piece of shape(example a triangle), when I drag this triangle shape on the triangle part in (image attached in POST #5) those red area. This triangle shape will automatically fill in the triangle part of the image attach.

Really sorry if confuse you then.
my english is bad.
 

derez

Expert
Licensed User
Are you doing a tangram game ? I wrote such a game long time ago, send me your email and I'll send it to you.

upload_2015-2-8_22-57-43.png
 
Top