ILayer
interface
Layout & Sizing
Bounding-box record used by the layout system to track occupied space on each side of the main area.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- toprequirednumber
- Space consumed at the top of the layout main area, in pixels.
- bottomrequirednumber
- Space consumed at the bottom of the layout main area, in pixels.
- leftrequirednumber
- Space consumed on the left side of the layout main area, in pixels.
- rightrequirednumber
- Space consumed on the right side of the layout main area, in pixels.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Reading mainRect from the layout provide