Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Increasing or decreasing shape size in a drawing tool  RSS feed

 
celine scarlett
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm currently writing a basic drwing program. I have the buttons and shapes currently, working, but also wanted to allow the user to increase or decrease the size of sunsequent shapes. eg: when a user clicks the increase button, a subsequent mouse click on the canvas will result in a larger shape.

Help please!!!
 
celine scarlett
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Problem now solved. Thanks all!!
 
Campbell Ritchie
Marshal
Posts: 55715
163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello.

Well, how did you sort it out?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!