Package | Description |
---|---|
crossmobile.ios.uikit |
Modifier and Type | Method and Description |
---|---|
NSLayoutDimension |
UIView.heightAnchor()
Returns the height of the layout guide frame expressed as layout anchor.
|
NSLayoutDimension |
UILayoutSupport.heightAnchor()
Returns the layout anchor for the height.
|
NSLayoutDimension |
UILayoutGuide.heightAnchor()
Returns the layout anchor for the height.
|
NSLayoutDimension |
UIView.widthAnchor()
Returns the width of the layout guide frame expressed as an layout
anchor.
|
NSLayoutDimension |
UILayoutGuide.widthAnchor()
Returns the layout anchor for the width
|
Modifier and Type | Method and Description |
---|---|
NSLayoutConstraint |
NSLayoutDimension.constraintEqualToAnchor(NSLayoutDimension anchor,
double multiplier)
Returns a NSLayoutConstraint that defines the anchor's size to be as
equal to the specified anchor's size multiplied by the specified
multiplier.
|
NSLayoutConstraint |
NSLayoutDimension.constraintEqualToAnchor(NSLayoutDimension anchor,
double multiplier,
double constant)
Returns a NSLayoutConstraint that defines the anchor's size to be as
equal to the specified anchor's size multiplied by the specified
multiplier plus an offset.
|
NSLayoutConstraint |
NSLayoutDimension.constraintGreaterThanOrEqualToAnchor(NSLayoutDimension anchor,
double multiplier)
Returns a NSLayoutConstraint that defines the anchor's size to be greater
than or equal to the specified anchor's size multiplied by the specified
multiplier.
|
NSLayoutConstraint |
NSLayoutDimension.constraintGreaterThanOrEqualToAnchor(NSLayoutDimension anchor,
double multiplier,
double constant)
Returns a NSLayoutConstraint that defines the anchor's size to be greater
than or equal to the specified anchor's size multiplied by the specified
multiplier plus an offset.
|
NSLayoutConstraint |
NSLayoutDimension.constraintLessThanOrEqualToAnchor(NSLayoutDimension anchor,
double multiplier)
Returns a NSLayoutConstraint that defines the anchor's size to be less
than or equal to the specified anchor's size multiplied by the specified
multiplier.
|
NSLayoutConstraint |
NSLayoutDimension.constraintLessThanOrEqualToAnchor(NSLayoutDimension anchor,
double multiplier,
double constant)
Returns a NSLayoutConstraint that defines the anchor's size to be greater
than or equal to the specified anchor's size multiplied by the specified
multiplier plus an offset.
|
Copyright © 2020. All rights reserved.