public void ShowMainWindow(bool useOpacity = true) { if (useOpacity) { MainWindowOpacity(-1); return; } MainWindowAS.Show(); }
public void HideMainWindow(bool useOpacity = true) { if (useOpacity) { MainWindowOpacity(0); return; } MainWindowAS.Hide(); }
public int GetPixel(int x, int y) { int result; try { result = MainWindowAS.GetPixel(x + BlueStacks.OFFSET_X, y + BlueStacks.OFFSET_Y); } catch { result = -1; } return(result); }
public Bitmap CaptureFrame(bool backgroundMode) { return(MainWindowAS.CaptureFrame(backgroundMode, true)); }
public void MainWindowOpacity(int value) { MainWindowAS.Opacity(value); }
public Size GetWindowSize2() { Size test = MainWindowAS.GetControlSize2(); return(test); }
public Point GetMousePos() { Point mousePos = MainWindowAS.GetMousePos(); return(mousePos); }