Android Development: Bitmap and rectangles?

The Android documentation seems to explain this method quite well.

The Android documentation seems to explain this method quite well. DrawBitmap Documenation From reading the documentation it appears you can do what you want by specifying a source Rect, which will be the rectangle(subset) from the original bitmap, and it will then be translated into the dest Rectangle. Bitmap picture; //Assume this is a 1024x768 image and has been initialized.

@Override public void onDraw(Canvas canvas){ //To Draw only the top left corner of the image Rect src = new Rect(0,0,512,368); Rect dest = new Rect(0,0,512,368); canvas. DrawBitmap(picture, src, dest, null); }.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions