(Jan 11, 2015 09:35 PM)KingDeath360 Wrote: You didn't specify the shape, do you want one for a rectangle or circle?
For the circle use Eclipse
For a triangle i think you can use, the graphics path + contains
[img]http://anony.ws/i/2015/01/12/Untitled283db.png[/img]
Please provide logic instead of source codes.
Or share references but please don't get copy paste kids on here.
Let them do the thinking first and then help them out if necessary.
Providing logics instead of source code gets the kiddies out and get the actual people who want to learn it in.
Use the stackoverflow mindset.
Ask a question, explain it as good as possible.
Show what you've tried.
Receive help.
Nothing tried === no help
Nothing provided except logic what the user tried === logic posts to solve the problem
Provided the tried sources === edits in that source to get it fixed then also have a proper explaination.