private void OnPaintSample(object sender, SKPaintSurfaceEventArgs e)
        {
            var surfaceWidth  = e.Info.Width;
            var surfaceHeight = e.Info.Height;

            var canvas = e.Surface.Canvas;

            using (var paint = new SKPaint())
            {
                ApplicationResourcesProvider resources = IoCManager.Resolve <ApplicationResourcesProvider>();
                canvas.Clear(resources.TryGetResourceColorvalue(Settings.AdventurerMode ? "SecondaryDarkColor" : "PrimaryDarkColor").ToSKColor()); //for painting it dark yellow or dark blue
                using (var pathStroke = new SKPaint
                {
                    IsAntialias = true,
                    Style = SKPaintStyle.StrokeAndFill,
                    Color = resources.TryGetResourceColorvalue(Settings.AdventurerMode ? "PrimaryDarkColor" : "SecondaryDarkColor").ToSKColor(), //for painting it dark blue or dark yellow
                    StrokeWidth = 5
                })
                {
                    using (var path = new SKPath {
                        FillType = SKPathFillType.EvenOdd
                    })
                    {
                        path.MoveTo(surfaceWidth, 0);
                        path.LineTo(0, 0);
                        path.LineTo(0, surfaceHeight);
                        path.LineTo(surfaceWidth, 0);
                        path.Close();
                        canvas.DrawPath(path, pathStroke);
                    }
                }
            }
        }