How add zoom to TouchCanvasView? RRS feed

  • Question

  • User332109 posted

    I create TouchCanvasView like here https://github.com/mattleibow/SkiaSharpFormsRendererDemo, and add points wich tapped, its working good. but now i need zoom for my TouchCanvasView. How i can do it?

    Monday, August 7, 2017 4:24 AM

All replies

  • User68536 posted

    You can check out these docs for inspiration: https://developer.xamarin.com/guides/xamarin-forms/advanced/skiasharp/

    and more specifically: https://developer.xamarin.com/guides/xamarin-forms/advanced/skiasharp/transforms/touch/

    For the second case, the TouchEffect is now built into the canvas itself with the Touch event.

    Monday, August 7, 2017 7:12 PM
  • User389888 posted

    is there a way to set the min/max scale limit for the canvas?

    Tuesday, November 5, 2019 3:55 PM