SplashFrame
A rectangle of the window, in points (iOS) and dp (Android).
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 SplashFrame = Frame;Membros 4
| 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.