diff options
author | CircleShift <kgunger12@gmail.com> | 2025-06-19 21:04:03 -0400 |
---|---|---|
committer | CircleShift <kgunger12@gmail.com> | 2025-06-19 21:04:03 -0400 |
commit | c2cf6b494d1e5535f3c0a4b7ec5c742cfc95ae5f (patch) | |
tree | 5ef299c7d0a7c0e9170d4ada93fa6c3a77ba46de /scripts/gui-common/color.js | |
parent | 539d194ef7de149e70a7726b4db54883bd8487c5 (diff) |
Radio group
Diffstat (limited to 'scripts/gui-common/color.js')
-rw-r--r-- | scripts/gui-common/color.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/gui-common/color.js b/scripts/gui-common/color.js index eae3971..489096a 100644 --- a/scripts/gui-common/color.js +++ b/scripts/gui-common/color.js @@ -1,3 +1,5 @@ +'use strict'; + class Color { /** @type {Array<number>} */ @@ -227,6 +229,8 @@ const BLUE = new Color(0, 0, 1, 1); const MAGENTA = new Color(1, 0, 1, 1); const WHITE = new Color(1, 1, 1, 1); const BLACK = new Color(0, 0, 0, 1); +const TRANSPARENT_WHITE = new Color(1,1,1,0); +const TRANSPARENT_BLACK = new Color(0,0,0,0); const PI_THIRDS = Math.PI / 3; const TWO_PI = Math.PI * 2; |