FrameLayout
Where a 2D frame sits on the canvas, and what it shows.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
barHeight |
number |
- |
barWidth |
number |
Buffer pixels the frame covers: the whole buffer when expanded, the crop’s rectangle when cropped. |
frameHeight |
number |
- |
frameWidth |
number |
World texels the frame shows across and up. |
originX |
number |
Buffer pixels from the buffer’s lower left to the frame’s, below 0 where a cropped frame is larger than the buffer. |
originY |
number |
- |
target |
FrameTarget | null |
The target, or null where the frame draws straight to the canvas: smooth and expanded. |