Left
public struct Left : RectBasedConstraint, Extensible
Set of constraints related to left of restrictive rect
-
Undocumented
Declaration
Swift
public typealias Conformed = RectBasedConstraint
-
Common method for create entity of this type with base behavior.
Declaration
Swift
public static func build(_ base: RectBasedConstraint) -> Left
Parameters
base
Entity implements required behavior
Return Value
Initialized entity
-
Returns alignment constraint by left
Declaration
Swift
public static func align(by dependency: AlignDependence) -> Left
Parameters
dependency
Space dependency for target rect
Return Value
Alignment constraint typed by Left
-
Undocumented
See moreDeclaration
Swift
public struct AlignDependence : RectBasedConstraint
-
Returns constraint, that limits source rect by left of passed rect. If source rect intersects left of passed rect, source rect will be cropped, else will not changed.
Declaration
Swift
public static func limit(on dependency: LimitDependence) -> Left
Parameters
dependency
Space dependency for target rect
Return Value
Limit constraint typed by Left
-
Undocumented
See moreDeclaration
Swift
public struct LimitDependence : RectBasedConstraint
-
Returns constraint, that pulls source rect to left of passed rect. If source rect intersects left of passed rect, source rect will be cropped, else will pulled with changing size.
Declaration
Swift
public static func pull(from dependency: PullDependence) -> Left
Parameters
dependency
Space dependency for target rect
Return Value
Pull constraint typed by Left
-
Undocumented
See moreDeclaration
Swift
public struct PullDependence : RectBasedConstraint