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 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 -
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 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,leadingMarginandtrailingMargin.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
centerXWithinMarginsandcenterYWithinMargins. iOS exclusive.Declaration
Swift
public var centerWithinMargins: Point -
The superview of the view, if it exists.
Declaration
Swift
public var superview: LayoutProxy?
View on GitHub
LayoutProxy Struct Reference