blockly > blockRendering > InlineInput > (constructeur)
Construit une instance de la classe InlineInput
.
Signature :
constructor(constants: ConstantProvider, input: Input);
Paramètres
Paramètre |
Type |
Description |
constants |
ConstantProvider |
Fournisseur de constantes de rendu. |
entrée |
Entrée |
Entrée intégrée pour laquelle mesurer et stocker des informations. |
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/08 (UTC).
[null,null,["Dernière mise à jour le 2024/11/08 (UTC)."],[[["The `InlineInput` class handles the rendering of inline inputs within Blockly blocks."],["An `InlineInput` object is constructed using a `ConstantProvider` for rendering settings and an `Input` object representing the actual input."],["The constructor initializes the `InlineInput` with necessary information from the provided `ConstantProvider` and `Input` for proper rendering."]]],["The `InlineInput` class constructor creates a new instance. It requires two parameters: `constants`, a `ConstantProvider` instance which provides rendering constants, and `input`, an `Input` instance representing the inline input. The constructor's purpose is to measure and store information related to the specified inline input during the rendering process, utilizing constants from the provided `ConstantProvider`.\n"]]