Skip to main content

Interface: DmgWindow

With a background image (the default), each unset value is derived from the image. With backgroundColor, the unset values of a set window use fixed defaults; without window, dmgbuild's own window defaults apply.

Properties​

height?​

optional height?: number

The height. Defaults to the background image height (380 for the default background), or 300 with backgroundColor.


width?​

optional width?: number

The width. Defaults to the background image width (540 for the default background), or 540 with backgroundColor.


x?​

optional x?: number

The X position relative to left of the screen. Defaults to 400 with a background image, or 100 with backgroundColor.


y?​

optional y?: number

The Y position relative to bottom of the screen. Defaults to (1440 - background image height) / 2, rounded, with a background image, or 400 with backgroundColor.