aspose file tools
The moose likes Android and the fly likes Need help to understand about Canvas Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Need help to understand about Canvas" Watch "Need help to understand about Canvas" New topic
Author

Need help to understand about Canvas

ganesh gupthag
Greenhorn

Joined: Mar 05, 2009
Posts: 5
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

Joined: Jun 06, 2007
Posts: 2745
    
    6

"ganesh gbg " please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.


SCJP, SCWCD.
|Asking Good Questions|
 
 
subject: Need help to understand about Canvas