File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Need help to understand about Canvas" Watch "Need help to understand about Canvas" New topic

Need help to understand about Canvas

ganesh gupthag

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
2. calling drawText() or drawLine() ,etc .. of Canvas method and passing paint object

Amit Ghorpade

Joined: Jun 06, 2007
Posts: 2716

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

|Asking Good Questions|
I agree. Here's the link:
subject: Need help to understand about Canvas