I am going to give you some ideas then show you the way I created a image on a canvas, just note that not all the code is in this snippet.

my code to draw a triangle


public void...