This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

draw a polygone  RSS feed

 
mark smith
Ranch Hand
Posts: 258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi i read sun java documenation about java 2d

i tried to draw the shape joins with this post

but i get something different...





what i get wrong?
 
Rob Camick
Ranch Hand
Posts: 2801
15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Step through each point one by one and I'm sure you will find your problem. Draw the points on paper as you go.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!