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

    接口 ImageOptions实验性

    Options for configuring an image component.

    interface ImageOptions {
        visible?: boolean | ObservableBoolean;
        width?: number | ObservableNumber;
    }
    索引

    属性

    visible?: boolean | ObservableBoolean

    When false or bound to a false ObservableBoolean, the image is hidden.

    width?: number | ObservableNumber

    Sets the width of the image as a percentage of the width of the form. 1 is the entire form width, 0.5 is half of the form width. Greater than 1 or less than/equal to 0 will become 1.