splash.SplashFrame
A rectangle of the window, in points (iOS) and dp (Android).
Usage
Read the native splash layout.
This type is used by splash.layout
// Read the native splash layout.
import { splash } from 'kuito';
const layout = splash.layout(); // null without a splash
if (layout) console.log(layout.logo.y + layout.logo.height, layout.brand?.width);Type declaration
export type SplashFrame = Frame;Members 4
| Name | Type | Required | Description |
|---|---|---|---|
x | number | Yes | — |
y | number | Yes | — |
width | number | Yes | — |
height | number | Yes | — |
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.