Normally, when you draw a bitmap to the canvas, it is rectangular. Is it possible to make it appear as a parallelogram instead?
Asked
Active
Viewed 472 times
-1
-
What kind of 3d effect are you talking about? A stereoscopic effect will be visible if it's already contained in the bitmap but you will need 3d-glasses. You will not be able to draw a normal image in 3d. – Chris Feb 06 '12 at 10:44
-
ya sorry... bit modification in my question,..i wan a show a bitmap in parallelogram with out using Path , i.e with out hiding the any part of the bitmap – Sandeep P Feb 06 '12 at 11:03
1 Answers
1
Try canvas.skew(20, 0)
. That skews the drawing matrix in x, but you can obviously do y as well, depending on what you need.

andrewmu
- 14,276
- 4
- 39
- 37