Stay organized with collections
Save and categorize content based on your preferences.
blockly > geras > RenderInfo > getDesiredRowWidth_
geras.RenderInfo.getDesiredRowWidth_() method
Signature:
getDesiredRowWidth_(row: Row): number;
Parameters
Parameter |
Type |
Description |
row |
Row |
|
Returns:
number
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThe \u003ccode\u003egeras.RenderInfo.getDesiredRowWidth_()\u003c/code\u003e method calculates and returns the desired width of a specific row within a rendered block.\u003c/p\u003e\n"],["\u003cp\u003eThis method accepts a \u003ccode\u003eRow\u003c/code\u003e object as input, representing the row for which the width calculation is needed.\u003c/p\u003e\n"],["\u003cp\u003eThe output of the method is a numerical value indicating the desired width of the specified row, which is crucial for the block rendering process within the Blockly Geras renderer.\u003c/p\u003e\n"]]],[],null,["[blockly](./blockly.md) \\\u003e [geras](./blockly.geras_namespace.md) \\\u003e [RenderInfo](./blockly.geras_namespace.renderinfo_class.md) \\\u003e [getDesiredRowWidth_](./blockly.geras_namespace.renderinfo_class.getdesiredrowwidth__1_method.md)\n\ngeras.RenderInfo.getDesiredRowWidth_() method\n---------------------------------------------\n\n**Signature:** \n\n getDesiredRowWidth_(row: Row): number;\n\nParameters\n----------\n\n| Parameter | Type | Description |\n|-----------|--------------------------------------------------------|-------------|\n| row | [Row](./blockly.blockrendering_namespace.row_class.md) | |\n\n**Returns:**\n\nnumber"]]