From a0363d69451a97f6d969d0b68b04a6e11eb350dd Mon Sep 17 00:00:00 2001 From: Abdullah Alfaraj Date: Fri, 10 Feb 2023 18:11:28 +0300 Subject: [PATCH] add Selection utility class --- selection.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/selection.js b/selection.js index 4f3db4d..151516d 100644 --- a/selection.js +++ b/selection.js @@ -50,7 +50,18 @@ async function selectionToFinalWidthHeight() { } } +class Selection { + static getSelectionInfo() {} + static isValidSelection() { + selection_info + } + static reselectArea(selection_info) {} + static isSameSelection(selection_info_1, selection_info_2) {} + + static {} +} module.exports = { finalWidthHeight, selectionToFinalWidthHeight, + Selection, }