DefaultInputLayout

@objcMembers public final class DefaultInputLayout: InputLayout

A default implementation of InputLayout.

  • The relative x-position of where to begin rendering the right edge of the block, expressed as a Workspace coordinate system unit.

    Declaration

    Swift

    public var rightEdge: CGFloat = 0
  • For inline value inputs, the relative position of where to begin rendering the input connector (ie. the female puzzle piece), expressed as a Workspace coordinate system unit.

    Declaration

    Swift

    public var inlineConnectorPosition: WorkspacePoint = WorkspacePoint.zero
  • For inline value inputs, the size of the input connector (ie. the female puzzle piece), expressed as a Workspace coordinate system unit.

    Declaration

    Swift

    public var inlineConnectorSize: WorkspaceSize = WorkspaceSize.zero
  • For statement inputs, the relative x-position of where to begin rendering the inner left edge of the C shaped 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
  • For statement inputs, the amount of padding to include at the top of C shaped block, expressed as a Workspace coordinate system unit.

    Declaration

    Swift

    public var statementRowTopPadding: CGFloat = 0
  • For statement inputs, the amount of padding to include at the bottom of C shaped block, expressed as a Workspace coordinate system unit.

    Declaration

    Swift

    public var statementRowBottomPadding: CGFloat = 0
  • For statement inputs, the height of the middle part of the C shaped block, expressed as a Workspace coordinate system unit.

    Declaration

    Swift

    public var statementMiddleHeight: CGFloat = 0
  • The minimal amount of width required to render fieldLayouts, specified as a Workspace coordinate system unit.

    Declaration

    Swift

    public var minimalFieldWidthRequired: CGFloat
  • The minimal amount of width required to render the child statements of the input, specified as a Workspace coordinate system unit.

    Declaration

    Swift

    public var minimalStatementWidthRequired: CGFloat