Skip to content

EditorMinimapLayoutInfo

原文链接

https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.EditorMinimapLayoutInfo.html

ts
interface EditorMinimapLayoutInfo {
    minimapCanvasInnerHeight: number;
    minimapCanvasInnerWidth: number;
    minimapCanvasOuterHeight: number;
    minimapCanvasOuterWidth: number;
    minimapHeightIsEditorHeight: boolean;
    minimapIsSampling: boolean;
    minimapLeft: number;
    minimapLineHeight: number;
    minimapScale: number;
    minimapWidth: number;
    renderMinimap: RenderMinimap;
}

快捷链接

PminimapCanvasInnerHeight
PminimapCanvasInnerWidth
PminimapCanvasOuterHeight
PminimapCanvasOuterWidth
PminimapHeightIsEditorHeight
PminimapIsSampling
PminimapLeft
PminimapLineHeight
PminimapScale
PminimapWidth
PrenderMinimap

minimapCanvasInnerHeight

  • 类型: number

minimapCanvasInnerWidth

  • 类型: number

minimapCanvasOuterHeight

  • 类型: number

minimapCanvasOuterWidth

  • 类型: number

minimapHeightIsEditorHeight

  • 类型: boolean

minimapIsSampling

  • 类型: boolean

minimapLeft

  • 类型: number

minimapLineHeight

  • 类型: number

minimapScale

  • 类型: number

minimapWidth

  • 类型: number

renderMinimap