summaryrefslogtreecommitdiff
path: root/apps/web/src/lib/rendering.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/src/lib/rendering.ts')
-rw-r--r--apps/web/src/lib/rendering.ts28
1 files changed, 28 insertions, 0 deletions
diff --git a/apps/web/src/lib/rendering.ts b/apps/web/src/lib/rendering.ts
new file mode 100644
index 00000000..d16296e2
--- /dev/null
+++ b/apps/web/src/lib/rendering.ts
@@ -0,0 +1,28 @@
+export interface Transform {
+ scaleX: number;
+ scaleY: number;
+ position: {
+ x: number;
+ y: number;
+ };
+ rotate: number;
+}
+
+export type BlendMode =
+ | "normal"
+ | "darken"
+ | "multiply"
+ | "color-burn"
+ | "lighten"
+ | "screen"
+ | "plus-lighter"
+ | "color-dodge"
+ | "overlay"
+ | "soft-light"
+ | "hard-light"
+ | "difference"
+ | "exclusion"
+ | "hue"
+ | "saturation"
+ | "color"
+ | "luminosity";