Dear All,

The Canvas class holds the "draw" calls. To draw something, you need 4
basic components: A Bitmap to hold the pixels, a Canvas to host the
draw calls (writing into the bitmap), a drawing primitive (e.g. Rect,
Path, text, Bitmap), and a paint (to describe the colors and styles
for the drawing).

Above is google SDK document.
----------------------------------------------------------

I have a question, I have a small bitmap (50 * 60), init the canvas
with this bitmap. Can we only draw text on this scope(50*60)?

How can we draw outside this bitmap(50*60) ?

I try the canvas.clipRect(0, 0, 512, 512); and want to draw at (100,
150), but it can't work.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to