EraseAt

data class EraseAt(val point: Offset, val radius: Float) : Intent

Delete every element whose body intersects a disk of radius around point (world space). Snapshots history lazily on the first hit within the current erase session (see BeginErase). Subsequent hits inside the same session mutate elements in place without snapshotting, so a single undo reverts the entire sweep. No-op when no element is hit — no snapshot is pushed and no State copy is emitted.

Constructors

Link copied to clipboard
constructor(point: Offset, radius: Float)

Properties

Link copied to clipboard
Link copied to clipboard