Search code examples
c#xamarin.ioscore-graphicstransformperspective

MonoTouch: Transform image perspective


I have this image...

enter image description here

I would like to transform it perspective like this via code...

enter image description here

Is that possible in MonoTouch?


Solution

  • Without having tried it, but as Monotouch sits on top of its ObjectiveC counterpart and binds almost all its API, I would say yes and therefore you may want to refer to this question here on Stackoverflow

    Tilt image with UIKit

    and that one

    How do I apply a perspective transform to a UIView?

    They deal with almost the same effect you want to achieve. You should be able to translate the code into Monotouch pretty easily.

    Happy coding.