Equal

public struct Equal : RectBasedConstraint

Constraint, that makes source rect equally to passed rect

  • Undocumented

    Declaration

    Swift

    public init()
  • 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