public BitmapImage ToBitmap(Screen renderTarget, ImageFormat format = ImageFormat.ARGB32) { return ToVectorImage ().ToBitmap (renderTarget, format); }
static void SetupScreens() { if (screens == null) { screens = Toolkit.CurrentEngine.DesktopBackend.GetScreens ().Select (s => new Screen (s)).ToArray (); primary = screens.FirstOrDefault (s => s.IsPrimary); } }