Stay organized with collections
Save and categorize content based on your preferences.
blockly > zelos > TopRow > hasLeftSquareCorner
zelos.TopRow.hasLeftSquareCorner() method
Render a round corner unless the block has an output connection.
Signature:
hasLeftSquareCorner(block: BlockSvg): boolean;
Parameters
Parameter |
Type |
Description |
block |
BlockSvg |
|
Returns:
boolean
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\u003ezelos.TopRow.hasLeftSquareCorner()\u003c/code\u003e method determines whether the top-left corner of a block should be rendered as round or square.\u003c/p\u003e\n"],["\u003cp\u003eIt returns \u003ccode\u003etrue\u003c/code\u003e if the block has an output connection, indicating a square corner should be rendered, otherwise \u003ccode\u003efalse\u003c/code\u003e for a round corner.\u003c/p\u003e\n"],["\u003cp\u003eThis method is part of the \u003ccode\u003ezelos.TopRow\u003c/code\u003e class which handles the rendering of the top part of blocks in Blockly's Zelos theme.\u003c/p\u003e\n"]]],[],null,["[blockly](./blockly.md) \\\u003e [zelos](./blockly.zelos_namespace.md) \\\u003e [TopRow](./blockly.zelos_namespace.toprow_class.md) \\\u003e [hasLeftSquareCorner](./blockly.zelos_namespace.toprow_class.hasleftsquarecorner_1_method.md)\n\nzelos.TopRow.hasLeftSquareCorner() method\n-----------------------------------------\n\nRender a round corner unless the block has an output connection.\n\n**Signature:** \n\n hasLeftSquareCorner(block: BlockSvg): boolean;\n\nParameters\n----------\n\n| Parameter | Type | Description |\n|-----------|-----------------------------------------|-------------|\n| block | [BlockSvg](./blockly.blocksvg_class.md) | |\n\n**Returns:**\n\nboolean"]]