Skip to content

MinimapRectItem

Defined in: src/components/editor/Minimap/Minimap.types.ts:46

Extends

  • MinimapItemBase

Properties

color?

optional color: string

Defined in: src/components/editor/Minimap/Minimap.types.ts:43

Override draw color for this item. Falls back to defaultItemColor.

Inherited from

MinimapItemBase.color


height

height: number

Defined in: src/components/editor/Minimap/Minimap.types.ts:55

Height in world units.


id

id: string

Defined in: src/components/editor/Minimap/Minimap.types.ts:41

Stable identity. Used for hover hit-testing and future selection support.

Inherited from

MinimapItemBase.id


type

type: "rect"

Defined in: src/components/editor/Minimap/Minimap.types.ts:47


width

width: number

Defined in: src/components/editor/Minimap/Minimap.types.ts:53

Width in world units.


x

x: number

Defined in: src/components/editor/Minimap/Minimap.types.ts:49

Top-left X in world units.


y

y: number

Defined in: src/components/editor/Minimap/Minimap.types.ts:51

Top-left Y in world units.