Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example of how to implement zoom in images in Xamarin.Forms applications. - http://julianocustodio.com/zoom-image
using System;
namespace DemoZoomImage
{
public static class DoubleExtensions
{
public static double Clamp(this double self, double min, double max)
{
return Math.Min(max, Math.Max(self, min));
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.