Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
blockly > blockRendering > MarkerSvg > positionOutput_
Methode blockRendering.MarkerSvg.positionOutput_()
Positionieren Sie die Markierung für eine Ausgabeverbindung. Es werden eine Puzzlestruktur sowie der obere und untere Weg angezeigt.
Unterschrift:
protected positionOutput_(width: number, height: number, connectionShape: PuzzleTab): void;
Parameter
Parameter |
Typ |
Beschreibung |
Breite |
Zahl |
Die Breite des Blocks. |
Höhe |
Zahl |
Höhe des Blocks |
connectionShape |
PuzzleTab |
Das Formobjekt für die Verbindung. |
Gibt zurück:
voidm
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-09-09 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2024-09-09 (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"]]