Stay organized with collections
Save and categorize content based on your preferences.
blockly > blockRendering > MarkerSvg > positionOutput_
blockRendering.MarkerSvg.positionOutput_() method
Position the marker for an output connection. Displays a puzzle outline and the top and bottom path.
Signature:
protected positionOutput_(width: number, height: number, connectionShape: PuzzleTab): void;
Parameters
Parameter |
Type |
Description |
width |
number |
The width of the block. |
height |
number |
The height of the block. |
connectionShape |
PuzzleTab |
The shape object for the connection. |
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.MarkerSvg.positionOutput_()` method positions the marker for an output connection, displaying a puzzle outline and the top and bottom path."],["This method takes the block's width and height, along with the connection's shape as input, to determine the marker's position."],["The method does not return any value (void) and is primarily used internally for visual representation of output connections on blocks."]]],["The `positionOutput_` method within `blockRendering.MarkerSvg` positions a marker for an output connection. It takes the block's width, height, and a `PuzzleTab` connection shape as parameters. This method is responsible for displaying a puzzle outline along with the top and bottom paths for the specified output connection. It does not return a value.\n"]]