splash.SplashLayout
Where the launch screen draws its logo and brand.
Utilisation
Read the native splash layout.
Ce type est utilisé par 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);Déclaration du type
export type SplashLayout = Layout;Membres 2
| Nom | Type | Requis | Description |
|---|---|---|---|
logo | SplashFrame | Oui | — |
brand | SplashFrame | Oui | — |
logo — champs imbriqués
logo champs
| Nom | Type | Requis | Description |
|---|---|---|---|
x | number | Oui | — |
y | number | Oui | — |
width | number | Oui | — |
height | number | Oui | — |
brand — champs imbriqués
brand champs
| Nom | Type | Requis | Description |
|---|---|---|---|
x | number | Oui | — |
y | number | Oui | — |
width | number | Oui | — |
height | number | Oui | — |
Généré depuis les déclarations TypeScript publiques : signatures, props et valeurs par défaut viennent de la source vérifiée, les descriptions de sa JSDoc. Aucune valeur par défaut n'est inventée.