Stay organized with collections
Save and categorize content based on your preferences.
blockly > blockRendering > Drawer > positionPreviousConnection_
blockRendering.Drawer.positionPreviousConnection_() method
Position the previous connection on a block.
Signature:
protected positionPreviousConnection_(): void;
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."],[[["The `blockRendering.Drawer.positionPreviousConnection_()` method is responsible for placing the previous connection on a block within the Blockly framework."],["This method is a protected member of the `Drawer` class within the `blockRendering` namespace."],["Calling `positionPreviousConnection_()` adjusts the visual layout of blocks by specifically positioning their previous connection points for proper snapping and sequencing in Blockly projects."],["It does not return any value, indicated by its `void` return type, simply performing the positioning operation."]]],["The `positionPreviousConnection_()` method, part of the `blockRendering.Drawer` class, is responsible for positioning the previous connection on a block. This method, designated as protected, does not return any value (void) upon execution. Its sole purpose is to handle the spatial placement of a block's previous connection.\n"]]