splash.SplashLayout
Where the launch screen draws its logo and brand.
Utilização
Read the native splash layout.
Este tipo é usado por 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);Declaração do tipo
export type SplashLayout = Layout;Membros 2
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
logo | SplashFrame | Sim | — |
brand | SplashFrame | Sim | — |
logo — campos aninhados
logo campos
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
x | number | Sim | — |
y | number | Sim | — |
width | number | Sim | — |
height | number | Sim | — |
brand — campos aninhados
brand campos
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
x | number | Sim | — |
y | number | Sim | — |
width | number | Sim | — |
height | number | Sim | — |
Gerado a partir das declarações TypeScript públicas: assinaturas, props e predefinições vêm da fonte verificada, as descrições da sua JSDoc. Nenhuma predefinição é inventada.