Skip to content

Instantly share code, notes, and snippets.

@Felipe00
Last active February 16, 2017 03:20
Show Gist options
  • Select an option

  • Save Felipe00/f432c48340f2b84ae55f10362c5a3479 to your computer and use it in GitHub Desktop.

Select an option

Save Felipe00/f432c48340f2b84ae55f10362c5a3479 to your computer and use it in GitHub Desktop.
Exemplo de uso de desenho em bitmap
Canvas c = new Canvas(imageBitmap);
Paint p = new Paint();
float[] points = {
10, // start x
10, // start y
80, // stop x
80 // stop x
};
p.setColor(Color.RED);
c.drawLines(points, p);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment