@turbowarp/types-tw
    Preparing search index...
    ReduxEvent:
        | { mode: Mode; type: "scratch-paint/modes/CHANGE_MODE" }
        | {
            brushSize: number;
            type: "scratch-paint/brush-mode/CHANGE_BIT_BRUSH_SIZE";
        }
        | {
            eraserSize: number;
            type: "scratch-paint/eraser-mode/CHANGE_BIT_ERASER_SIZE";
        }
        | { brushSize: number; type: "scratch-paint/brush-mode/CHANGE_BRUSH_SIZE" }
        | {
            callback: ScratchPaintState["color"]["eyeDropper"]["callback"];
            previousMode: Tool;
            type: "scratch-paint/eye-dropper/ACTIVATE_COLOR_PICKER";
        }
        | { type: "scratch-paint/eye-dropper/DEACTIVATE_COLOR_PICKER" }
        | { color: string; type: "scratch-paint/fill-style/CHANGE_FILL_COLOR" }
        | { color: string; type: "scratch-paint/fill-style/CHANGE_FILL_COLOR_2" }
        | {
            gradientType: GradientType;
            type: "scratch-paint/fill-style/CHANGE_FILL_GRADIENT_TYPE";
        }
        | { type: "scratch-paint/fill-style/CLEAR_FILL_GRADIENT" }
        | { color: string; type: "scratch-paint/stroke-style/CHANGE_STROKE_COLOR" }
        | {
            color: string;
            type: "scratch-paint/stroke-style/CHANGE_STROKE_COLOR_2";
        }
        | {
            gradientType: GradientType;
            type: "scratch-paint/stroke-style/CHANGE_STROKE_GRADIENT_TYPE";
        }
        | { type: "scratch-paint/stroke-style/CLEAR_STROKE_GRADIENT" }
        | {
            strokeWidth: number;
            type: "scratch-paint/stroke-width/CHANGE_STROKE_WIDTH";
        }
        | {
            clipboardItems: ScratchPaintState["clipboard"]["items"];
            type: "scratch-paint/clipboard/SET";
        }
        | { type: "scratch-paint/clipboard/INCREMENT_PASTE_OFFSET" }
        | { type: "scratch-paint/clipboard/CLEAR_PASTE_OFFSET" }
        | { cursorString: Cursor; type: "scratch-paint/cursor/CHANGE_CURSOR" }
        | {
            brushSize: number;
            type: "scratch-paint/eraser-mode/CHANGE_ERASER_SIZE";
        }
        | { filled: boolean; type: "scratch-paint/fill-bitmap-shapes/SET_FILLED" }
        | {
            index: ColorIndex;
            type: "scratch-paint/color-index/CHANGE_COLOR_INDEX";
        }
        | { font: ScratchPaint.Font; type: "scratch-paint/fonts/CHANGE_FONT" }
        | { format: Format; type: "scratch-paint/formats/CHANGE_FORMAT" }
        | {
            hoveredItemId: number | null;
            type: "scratch-paint/hover/CHANGE_HOVERED";
        }
        | { layout: "rtl"
        | "ltr"; type: "scratch-paint/layout/SET_LAYOUT" }
        | { modal: ScratchPaint.Modal; type: "scratch-paint/modals/OPEN_MODAL" }
        | { modal: ScratchPaint.Modal; type: "scratch-paint/modals/CLOSE_MODAL" }
        | {
            bitmapMode: boolean;
            selectedItems: ScratchPaintState["selectedItems"];
            type: "scratch-paint/select/CHANGE_SELECTED_ITEMS";
        }
        | { type: "scratch-paint/select/REDRAW_SELECTION_BOX" }
        | {
            textEditTargetId: number | null;
            type: "scratch-paint/text-tool/CHANGE_TEXT_EDIT_TARGET";
        }
        | { format: Format; type: "scratch-paint/undo/UNDO" }
        | { format: Format; type: "scratch-paint/undo/REDO" }
        | { snapshot: UndoSnapshot; type: "scratch-paint/undo/SNAPSHOT" }
        | { type: "scratch-paint/undo/CLEAR" }
        | { type: "scratch-paint/view/UPDATE_VIEW_BOUNDS"; viewBounds: Matrix }
        | { type: "scratch-paint/zoom-levels/SAVE_ZOOM_LEVEL"; zoomLevel: Matrix }
        | {
            type: "scratch-paint/zoom-levels/SET_ZOOM_LEVEL_ID";
            zoomLevelId: string;
        }
        | { type: "scratch-paint/zoom-levels/RESET_ZOOM_LEVELS" }

    Type Declaration

    • { mode: Mode; type: "scratch-paint/modes/CHANGE_MODE" }
    • { brushSize: number; type: "scratch-paint/brush-mode/CHANGE_BIT_BRUSH_SIZE" }
    • { eraserSize: number; type: "scratch-paint/eraser-mode/CHANGE_BIT_ERASER_SIZE" }
    • { brushSize: number; type: "scratch-paint/brush-mode/CHANGE_BRUSH_SIZE" }
    • {
          callback: ScratchPaintState["color"]["eyeDropper"]["callback"];
          previousMode: Tool;
          type: "scratch-paint/eye-dropper/ACTIVATE_COLOR_PICKER";
      }
    • { type: "scratch-paint/eye-dropper/DEACTIVATE_COLOR_PICKER" }
    • { color: string; type: "scratch-paint/fill-style/CHANGE_FILL_COLOR" }
    • { color: string; type: "scratch-paint/fill-style/CHANGE_FILL_COLOR_2" }
    • {
          gradientType: GradientType;
          type: "scratch-paint/fill-style/CHANGE_FILL_GRADIENT_TYPE";
      }
    • { type: "scratch-paint/fill-style/CLEAR_FILL_GRADIENT" }
    • { color: string; type: "scratch-paint/stroke-style/CHANGE_STROKE_COLOR" }
    • { color: string; type: "scratch-paint/stroke-style/CHANGE_STROKE_COLOR_2" }
    • {
          gradientType: GradientType;
          type: "scratch-paint/stroke-style/CHANGE_STROKE_GRADIENT_TYPE";
      }
    • { type: "scratch-paint/stroke-style/CLEAR_STROKE_GRADIENT" }
    • { strokeWidth: number; type: "scratch-paint/stroke-width/CHANGE_STROKE_WIDTH" }
    • {
          clipboardItems: ScratchPaintState["clipboard"]["items"];
          type: "scratch-paint/clipboard/SET";
      }
    • { type: "scratch-paint/clipboard/INCREMENT_PASTE_OFFSET" }
    • { type: "scratch-paint/clipboard/CLEAR_PASTE_OFFSET" }
    • { cursorString: Cursor; type: "scratch-paint/cursor/CHANGE_CURSOR" }
    • { brushSize: number; type: "scratch-paint/eraser-mode/CHANGE_ERASER_SIZE" }
    • { filled: boolean; type: "scratch-paint/fill-bitmap-shapes/SET_FILLED" }
    • { index: ColorIndex; type: "scratch-paint/color-index/CHANGE_COLOR_INDEX" }
    • { font: ScratchPaint.Font; type: "scratch-paint/fonts/CHANGE_FONT" }
    • { format: Format; type: "scratch-paint/formats/CHANGE_FORMAT" }
    • { hoveredItemId: number | null; type: "scratch-paint/hover/CHANGE_HOVERED" }
    • { layout: "rtl" | "ltr"; type: "scratch-paint/layout/SET_LAYOUT" }
    • { modal: ScratchPaint.Modal; type: "scratch-paint/modals/OPEN_MODAL" }
    • { modal: ScratchPaint.Modal; type: "scratch-paint/modals/CLOSE_MODAL" }
    • {
          bitmapMode: boolean;
          selectedItems: ScratchPaintState["selectedItems"];
          type: "scratch-paint/select/CHANGE_SELECTED_ITEMS";
      }
    • { type: "scratch-paint/select/REDRAW_SELECTION_BOX" }
    • {
          textEditTargetId: number | null;
          type: "scratch-paint/text-tool/CHANGE_TEXT_EDIT_TARGET";
      }
    • { format: Format; type: "scratch-paint/undo/UNDO" }
      • format: Format

        VECTOR_SKIP_CONVERT or BITMAP_SKIP_CONVERT

      • type: "scratch-paint/undo/UNDO"
    • { format: Format; type: "scratch-paint/undo/REDO" }
      • format: Format

        VECTOR_SKIP_CONVERT or BITMAP_SKIP_CONVERT

      • type: "scratch-paint/undo/REDO"
    • { snapshot: UndoSnapshot; type: "scratch-paint/undo/SNAPSHOT" }
    • { type: "scratch-paint/undo/CLEAR" }
    • { type: "scratch-paint/view/UPDATE_VIEW_BOUNDS"; viewBounds: Matrix }
    • { type: "scratch-paint/zoom-levels/SAVE_ZOOM_LEVEL"; zoomLevel: Matrix }
    • { type: "scratch-paint/zoom-levels/SET_ZOOM_LEVEL_ID"; zoomLevelId: string }
    • { type: "scratch-paint/zoom-levels/RESET_ZOOM_LEVELS" }