BackgroundRow

@objcMembers public final class BackgroundRow: NSObject

Information for rendering a row inside a block.

  • Flag if a output connector should be rendered on the right side of the row

    Declaration

    Swift

    public var outputConnector: Bool = false
  • Flag if this row represents a C shaped statement block.

    Declaration

    Swift

    public var isStatement: Bool = false
  • The relative x-position of where to begin rendering the right edge of the block, expressed as a Workspace coordinate system unit. Note, this is the left edge in RTL rendering.

    Declaration

    Swift

    public var rightEdge: CGFloat = 0
  • The amount of padding to include at the top of the row, expressed as a Workspace coordinate system unit.

    Declaration

    Swift

    public var topPadding: CGFloat = 0
  • The amount of padding to include at the bottom of the row, expressed as a Workspace coordinate system unit.

    Declaration

    Swift

    public var bottomPadding: CGFloat = 0
  • The height of the middle part of the row, expressed as a Workspace coordinate system value. If this row has a value input at the end, the connector should be vertically aligned to be in the center of this height.

    Declaration

    Swift

    public var middleHeight: CGFloat = 0
  • For statement inputs, the relative x-position of where to begin rendering the inner left edge of the C shape block, expressed as a Workspace coordinate system unit.

    Declaration

    Swift

    public var statementIndent: CGFloat = 0
  • For statement inputs, the width of the notch of the inner ceiling of the C shaped block, expressed as a Workspace coordinate system unit.

    Declaration

    Swift

    public var statementConnectorWidth: CGFloat = 0
  • The corresponding layouts used to render this row

    Declaration

    Swift

    public var layouts = [Layout]()
  • Inline connector locations

    Declaration

    Swift

    public var inlineConnectors = [InlineConnector]()
  • The height of this row, expressed as a Workspace coordinate system value

    Declaration

    Swift

    public var rowHeight: CGFloat