Skip to content
pixi-silk
GitHub repository
Interface

ViewportRect

import type { ViewportRect } from 'pixi-silk/ui/layout';

A window rectangle in screen pixels.

Properties#

PropertyTypeDescriptionDefined in
heightnumber-ui/layout/smart-container.ts:63
widthnumber-ui/layout/smart-container.ts:62
x?numberLeft edge. Default 0.ui/layout/smart-container.ts:59
y?numberTop edge. Default 0.ui/layout/smart-container.ts:61