LayoutProxy

Undocumented

  • The width of the view.

    Declaration

    Swift

    public var width: Dimension
  • The height of the view.

    Declaration

    Swift

    public var height: Dimension
  • The size of the view. This property affects both width and height.

    Declaration

    Swift

    public var size: Size
  • top

    The top edge of the view.

    Declaration

    Swift

    public var top: Edge
  • The right edge of the view.

    Declaration

    Swift

    public var right: Edge
  • The bottom edge of the view.

    Declaration

    Swift

    public var bottom: Edge
  • The left edge of the view.

    Declaration

    Swift

    public var left: Edge
  • All edges of the view. This property affects top, bottom, leading and trailing.

    Declaration

    Swift

    public var edges: Edges
  • The leading edge of the view.

    Declaration

    Swift

    public var leading: Edge
  • The trailing edge of the view.

    Declaration

    Swift

    public var trailing: Edge
  • The horizontal center of the view.

    Declaration

    Swift

    public var centerX: Edge
  • The vertical center of the view.

    Declaration

    Swift

    public var centerY: Edge
  • The center point of the view. This property affects centerX and centerY.

    Declaration

    Swift

    public var center: Point
  • The baseline of the view.

    Declaration

    Swift

    public var baseline: Edge
  • The last baseline of the view.

    Declaration

    Swift

    public var lastBaseline: Edge
  • The first baseline of the view. iOS exclusive.

    Declaration

    Swift

    public var firstBaseline: Edge
  • All edges of the view with their respective margins. This property affects topMargin, bottomMargin, leadingMargin and trailingMargin.

    Declaration

    Swift

    public var edgesWithinMargins: Edges
  • The left margin of the view. iOS exclusive.

    Declaration

    Swift

    public var leftMargin: Edge
  • The right margin of the view. iOS exclusive.

    Declaration

    Swift

    public var rightMargin: Edge
  • The top margin of the view. iOS exclusive.

    Declaration

    Swift

    public var topMargin: Edge
  • The bottom margin of the view. iOS exclusive.

    Declaration

    Swift

    public var bottomMargin: Edge
  • The leading margin of the view. iOS exclusive.

    Declaration

    Swift

    public var leadingMargin: Edge
  • The trailing margin of the view. iOS exclusive.

    Declaration

    Swift

    public var trailingMargin: Edge
  • The horizontal center within the margins of the view. iOS exclusive.

    Declaration

    Swift

    public var centerXWithinMargins: Edge
  • The vertical center within the margins of the view. iOS exclusive.

    Declaration

    Swift

    public var centerYWithinMargins: Edge
  • The center point within the margins of the view. This property affects centerXWithinMargins and centerYWithinMargins. iOS exclusive.

    Declaration

    Swift

    public var centerWithinMargins: Point
  • The superview of the view, if it exists.

    Declaration

    Swift

    public var superview: LayoutProxy?