Is it possible to draw a line image on a Canvas within a custom view? i.e. not a simple drawLine() but rather I have a PNG image of a line and would like to have this drawn at a desired angle on the screen.
I was looking at the various canvas drawBitmap() functions but can’t seem to figure out which would be needed in this case.
Thanks in advance.
You need to rotate the canvas and then call drawBitmap() There isn’t a method to do it all at once.