blockly > Griglia > setLength
Metodo Grid.setLength()
Imposta la lunghezza delle linee della griglia.
Firma:
setLength(length: number): void;
Parametri
Parametro |
Tipo |
Descrizione |
lunghezza |
numero |
|
Resi:
null
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-10-15 UTC.
[null,null,["Ultimo aggiornamento 2024-10-15 UTC."],[[["The `Grid.setLength()` method is used to define the length of grid lines within a Blockly workspace."],["It accepts a single parameter, `length`, which is a number specifying the desired length of the grid lines, and does not return any value."]]],["The `Grid.setLength()` method adjusts the length of the grid lines. It accepts one parameter, `length`, which is a number representing the desired length. This method modifies the grid's visual appearance by setting this specific attribute. The method does not return any value, and its effect is directly applied to the grid object.\n"]]