Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help to understand about Canvas

 
ganesh gupthag
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi group,
Can anyone explain me about Canvas.and Drawable
I guess Canvas can be considered as screen
but ,how Canvas and View are related,
what is the difference between
1. calling draw method of Drawable object and passing canvas object
and
2. calling drawText() or drawLine() ,etc .. of Canvas method and passing paint object

Thanks
Ganesh
 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"ganesh gbg " please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic