Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
blockly > blockRendering > ConstantProvider > makeStartHat
Méthode blockRendering.ConstantProvider.makeStartHat()
Signature :
protected makeStartHat(): StartHat;
Renvoie :
StartHat
Objet contenant des informations sur la taille et le chemin des casquettes de départ.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/11/09 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2024/11/09 (UTC)."],[[["The `makeStartHat()` method is a protected method of the `ConstantProvider` class within the `blockRendering` namespace."],["It generates and returns a `StartHat` object which holds data about the size and path details for rendering start hats on blocks."],["This method is responsible for defining the visual characteristics of the start hats in Blockly."]]],["The `makeStartHat()` method, part of the `ConstantProvider` class within the `blockRendering` namespace, generates a `StartHat` object. This method is protected and returns an object that holds data regarding the dimensions and path details of start hat shapes. This information is then used in block rendering.\n"]]