@minecraft
    正在准备搜索索引...

    接口 IMinimapPropertyItem

    A property item which supports Minimap properties

    interface IMinimapPropertyItem {
        enable: boolean;
        id: string;
        mapId: string;
        mapImageHeight: number;
        mapImageWidth: number;
        paneId: string;
        typeName: PropertyItemType;
        visible: boolean;
        assignMarker(markerType: Multiplayer): void;
        refreshMap(): void;
        removeMarker(markerType: Multiplayer): void;
        resizeMapImage(width: number, height: number): void;
    }

    层级 (查看层级一览)

    索引

    属性

    enable: boolean

    If the item is enabled in the UI.

    id: string

    Unique ID for the property item.

    mapId: string

    Id of the map.

    mapImageHeight: number

    Height of the map image.

    mapImageWidth: number

    Width of the map image.

    paneId: string

    The parent pane id.

    The type name of the target property.

    visible: boolean

    If the item should be visible in the UI.

    方法

    • 参数

      • width: number

        New width of the image.

      • height: number

        New height of the image.

      返回 void

      Updates the size of the map image.