Skip to content
pixi-silk
GitHub repository
Interface

PanelInsets

import type { PanelInsets } from 'pixi-silk/ui/panel';

Space kept free along each screen edge, such as a toolbar or another docked panel.

Properties#

PropertyTypeDescriptionDefined in
bottom?numberFree space above the bottom edge. Default 0.ui/panels/Panel.ts:23
left?numberFree space right of the left edge. Default 0.ui/panels/Panel.ts:25
right?numberFree space left of the right edge. Default 0.ui/panels/Panel.ts:21
top?numberFree space below the top edge. Default 0.ui/panels/Panel.ts:19