Exemple #1
0
        public PhotoPuzzlePage3(SKBitmap bitmap)
        {
            InitializeComponent();

            photoCropper = new PhotoCropperCanvasView(bitmap, 1f);
            canvasViewHost.Children.Add(photoCropper);
        }
Exemple #2
0
        public PhotoCroppingPage()
        {
            InitializeComponent();

            SKBitmap bitmap = BitmapExtensions.LoadBitmapResource(GetType(),
                                                                  "SkiaSharpFormsDemos.Media.MountainClimbers.jpg");

            photoCropper = new PhotoCropperCanvasView(bitmap);
            canvasViewHost.Children.Add(photoCropper);
        }