Skip to content

MinimapLineItem

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

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


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


lineWidth?

optional lineWidth: number

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

Stroke width in minimap CSS pixels (does not scale with content).

Default

1

type

type: "line"

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


x1

x1: number

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


x2

x2: number

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


y1

y1: number

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


y2

y2: number

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