Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
blockly > Feld > positionBorderRect_
Methode "Field.positionBorderRect_()"
Positioniert das Rahmenrechteck eines Felds nach einer Größenänderung.
Unterschrift:
protected positionBorderRect_(): void;
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-08-22 (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-08-22 (UTC)."],[[["`positionBorderRect_()` is a protected method in the `Field` class used to reposition the border of a field after its size is changed."],["It's called internally within the Blockly library and helps ensure that the visual border of fields aligns correctly with their content after size adjustments."],["This method doesn't return any value (void) and is primarily responsible for visual layout within Blockly fields."]]],["The `positionBorderRect_()` method, part of the `Field` class, is used to reposition a field's border rectangle. This action is performed specifically after a change in the field's size. The method is protected and does not return any value (void). Its primary function is to adjust the border's position to accommodate size alterations.\n"]]