Select

data class Select(val entityId: EntityId) : DrawMode

entityId is highlighted as selected, but not yet in edit mode.

Constructors

Link copied to clipboard
constructor(entityId: EntityId)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun styleStateFor(entityId: EntityId): StyleState

Which StyleState should be rendered in while the engine is in this mode: StyleState.EDITING or StyleState.SELECTED for the one entity Edit/Select names, StyleState.DEFAULT for every other entity and every other mode. HOVER and DISABLED aren't derivable from a mode — nothing in the engine produces them yet.