title: Get the Height and the Width of drawn area of an ImageView
body: <p>if I have an ImageView of (800*800 pixels). When I try to draw a line outside this ImageView it draws</p>
  
  <pre><code>    myBitmap = Bitmap.createBitmap(800,800,Bitmap.Config.ARGB_8888);
      myCanvas = new Canvas(myBitmap);
      myPaint = new Paint();
      myImageView.setImageBitmap(myBitmap);
      myCanvas.drawLine(-100, -100, 600, 600, myPaint);
  </code></pre>
  
  <p>this draw my line even if the start point is outside,</p>
  
  <p>Now I want to obtain their total size, I mean [900 , 900]. I don't know from which component can I obtain it (<code>myCanvas</code> or <code>myBitmap</code> or <code>myImageView</code>). </p>
  
  <p>I hope that my question is clear.</p>
  
  <p>thank you.   </p>