Skip to content

Class Builtin.Corner.Args

Fields

gaps nullable

gaps?: integer | { inner: integer, outer: integer }

Gaps between windows, in pixels.

This can be an integer or the table { inner: integer, outer: integer }. If it is an integer, all gaps will be that amount of pixels wide. If it is a table, outer denotes the amount of pixels around the edge of the output area that will become a gap, and inner denotes the amount of pixels around each window that will become a gap.

This means that, for example, inner = 2 will cause the gap width between windows to be 4; 2 around each window.

Defaults to 8.

corner_width_factor nullable

corner_width_factor?: number

How much of the output the corner window's width will take up.

Defaults to 0.5.

corner_height_factor nullable

corner_height_factor?: number

How much of the output the corner window's height will take up.

Defaults to 0.5.

corner_loc nullable

corner_loc?: "top_left" | "top_right" | "bottom_left" | "bottom_right"

Which corner the corner window will be in.

Defaults to "top_left".