GeometryProxy

public struct GeometryProxy : Hashable

A proxy for access to the size and coordinate space (for anchor resolution) of the container view.

  • The size of the container view.

    Declaration

    Swift

    public var size: CGSize { get }
  • The container view’s bounds rectangle converted to a defined coordinate space.

    Declaration

    Swift

    public func frame(in coordinateSpace: CoordinateSpace) -> CGRect
  • Declaration

    Swift

    public static var `default`: GeometryProxy
  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)