Stay organized with collections
Save and categorize content based on your preferences.
blockly > zelos > TopRow
zelos.TopRow class
An object containing information about what elements are in the top row of a block as well as sizing information for the top row. Elements in a top row can consist of corners, hats, spacers, and previous connections. After this constructor is called, the row will contain all non-spacer elements it needs.
Signature:
export declare class TopRow extends BaseTopRow
Extends: BaseTopRow
Constructors
Methods
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 `zelos.TopRow` class stores information about the elements and sizing of the top row of a block in Blockly."],["Top rows can contain elements like corners, hats, spacers, and previous connections, with non-spacer elements added automatically upon construction."],["This class inherits from `BaseTopRow` and provides methods to determine corner types and spacer presence."],["Methods like `hasLeftSquareCorner` and `hasRightSquareCorner` assist in rendering corners, taking into account block output connections."]]],[]]