Interface IModelDecorationMinimapOptions

Options for rendering a model decoration in the minimap.

interface IModelDecorationMinimapOptions {
    color: string | ThemeColor;
    darkColor?: string | ThemeColor;
    position: MinimapPosition;
    sectionHeaderStyle?: MinimapSectionHeaderStyle;
    sectionHeaderText?: string;
}

Hierarchy (view full)

Properties

color: string | ThemeColor

CSS color to render. e.g.: rgba(100, 100, 100, 0.5) or a color from the color registry

darkColor?: string | ThemeColor

CSS color to render. e.g.: rgba(100, 100, 100, 0.5) or a color from the color registry

position: MinimapPosition

The position in the minimap.

sectionHeaderStyle?: MinimapSectionHeaderStyle

If the decoration is for a section header, which header style.

sectionHeaderText?: string

If the decoration is for a section header, the header text.