frontend whiteboard canvas with rectangle support

This commit is contained in:
2026-02-16 16:13:43 +01:00
parent c200847c17
commit 0f0418dee3
8 changed files with 417 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<script setup lang="ts">
const props = defineProps<{
x: number
y: number
width: number
height: number
}>()
</script>
<template>
<rect
:x="props.x"
:y="props.y"
:width="props.width"
:height="props.height"
stroke="#4f9dff"
:stroke-width="2"
stroke-dasharray="6 3"
fill="none"
opacity="0.7"
/>
</template>