AlignDependence

public struct AlignDependence : RectBasedConstraint

Undocumented

  • Main function for constrain source space by other rect

    Declaration

    Swift

    public func formConstrain(sourceRect: inout CGRect, by rect: CGRect)

    Parameters

    sourceRect

    Source space

    rect

    Rect for constrain

  • Undocumented

    Declaration

    Swift

    public static var center: AlignDependence { get }
  • Undocumented

    Declaration

    Swift

    public static var origin: AlignDependence { get }