public static void EraseByPattern(string pattern) { var allCanvas = REcanvas.Find(pattern); for (int i = 0; i < allCanvas.Length; i++) { allCanvas[i]?.Erase(); } }
public static void EraseAll() { var allCanvas = REcanvas.Find(); for (int i = 0; i < allCanvas.Length; i++) { allCanvas[i]?.Erase(); } }