https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
z

zt

12/12/2023, 2:22 AM
Has anyone made drag-select input using compose for desktop? Like clicking and dragging the mouse on the desktop to draw a box, and select items within. I'm unsure how I would do that, getting what items are beneath
m

Michael Paus

12/12/2023, 9:09 AM
On desktop (and Android) I do that by building a geometry model via https://github.com/locationtech/jts . It provides me with the means to examine even very complex geometries. The only problem is that this is Java and not multiplatform.
5 Views