title: Adding BitMap Resource to Paint Object in Android
body: <p>I have a Pain Object that I want to overlay a Bitmap from Android resources.</p>
  
  <pre><code> public static Paint createPaint(int color, int strokeWidth, Style style) {
      Paint paint = AndroidGraphicFactory.INSTANCE.createPaint();
      paint.setColor(color);
      paint.setStrokeWidth(strokeWidth);
      paint.setStyle(style);
      return paint;
   }
  </code></pre>
  
  <p>It is probably simple thing to do. I am not understanding Android paint, canvas, and bitmap relationships.</p>