from dataclasses import dataclass
from pathlib import Path
@dataclass
class ImageAsset:
path: Path
selected: bool = True
class TransformState:
x: float = 0
y: float = 0
width: float = 0
height: float = 0
rotation: float = 0
keep_aspect_ratio: bool = True