跳到内容

app builder lib.Interface.PkgBackgroundOptions

Electron-Builder / app-builder-lib / PkgBackgroundOptions

PKG 安装程序中背景图像的选项

属性

对齐方式?

optional 对齐方式null | BackgroundAlignment

背景图像的对齐方式。选项包括:center、left、right、top、bottom、topleft、topright、bottomleft、bottomright

默认

center

文件?

optional 文件string

用作安装程序背景的图像路径。


缩放?

optional 缩放null | BackgroundScaling

背景图像的缩放。选项包括:tofit、none、proportional

默认

tofit