Stay organized with collections
Save and categorize content based on your preferences.
blockly > blockRendering > Drawer > positionStatementInputConnection_
Position the connection on a statement input, taking into account RTL and the small gap between the parent block and child block which lets the parent block's dark path show through.
Signature:
protected positionStatementInputConnection_(row: Row): void;
Parameters
Parameter |
Type |
Description |
row |
Row |
The row that the connection is on. |
Returns:
void
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."],[[["This method positions the connection point on a statement input, adjusting for right-to-left text and visual spacing between blocks."],["It specifically ensures the connection point is placed to allow the parent block's outline to be visible."],["This internal function takes a `Row` object as input, representing the row containing the connection being positioned."]]],["The `positionStatementInputConnection_()` method, part of the `blockRendering.Drawer` class, positions a connection on a statement input. This method considers Right-to-Left (RTL) layouts and a small gap between parent and child blocks, allowing the parent's dark path to be visible. It takes a `Row` object as a parameter, representing the row where the connection is located. The method does not return any value.\n"]]