Leading
public struct Leading : RectBasedConstraint, Extensible
Undocumented
-
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) -> LeadingParameters
baseEntity implements required behavior
Return Value
Initialized entity
-
Returns alignment constraint by leading
Declaration
Swift
public static func align(by dependency: Align.Dependence) -> LeadingParameters
dependencySpace dependency for target rect
Return Value
Alignment constraint typed by Leading
-
Undocumented
See moreDeclaration
Swift
public struct Align -
Returns constraint, that limits source rect by leading of passed rect. If source rect intersects leading of passed rect, source rect will be cropped, else will not changed.
Declaration
Swift
public static func limit(on dependency: Limit.Dependence) -> LeadingParameters
dependencySpace dependency for target rect
Return Value
Limit constraint typed by Leading
-
Undocumented
See moreDeclaration
Swift
public struct Limit -
Returns constraint, that pulls source rect to leading of passed rect. If source rect intersects leading of passed rect, source rect will be cropped, else will pulled with changing size.
Declaration
Swift
public static func pull(from dependency: Pull.Dependence) -> LeadingParameters
dependencySpace dependency for target rect
Return Value
Pull constraint typed by Leading
-
Undocumented
See moreDeclaration
Swift
public struct Pull
Leading Structure Reference