splash.SplashLayout
Where the launch screen draws its logo and brand.
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 SplashLayout = Layout;Members 2
| Name | Type | Required | Description |
|---|---|---|---|
logo | SplashFrame | Yes | — |
brand | SplashFrame | Yes | — |
logo — nested fields
logo fields
| Name | Type | Required | Description |
|---|---|---|---|
x | number | Yes | — |
y | number | Yes | — |
width | number | Yes | — |
height | number | Yes | — |
brand — nested fields
brand fields
| 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.