Usage

Read the native splash layout.

This type is used by splash.layout

tsx
// 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

ts
export type SplashFrame = Frame;

Members 4

NameTypeRequiredDescription
xnumberYes—
ynumberYes—
widthnumberYes—
heightnumberYes—
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.