blockly > Block > setOutputShape
Block.setOutputShape()-Methode
Legen Sie die Ausgabeform des Blocks fest.
Unterschrift:
setOutputShape(outputShape: number | null): void;
Parameter
Parameter |
Typ |
Beschreibung |
outputShape |
number | null |
Wert, der eine Ausgabeform darstellt. |
Gibt zurück:
void
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-11-30 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-11-30 (UTC)."],[[["The `setOutputShape` method allows you to define the shape of the output connection for a Blockly block."],["It accepts a single parameter, `outputShape`, which can be a number representing a specific shape or null for no output."],["Calling this method modifies the block's visual appearance and connection compatibility with other blocks."]]],[]]