[]
Adds a Right constraint relative to anchorRect
.
public PositionConstraint SetRight(LayoutRect anchorRect, AnchorParam anchorParam, float offset = 0)
Public Function SetRight(anchorRect As LayoutRect, anchorParam As AnchorParam, Optional offset As Single = 0) As PositionConstraint
Type | Name | Description |
---|---|---|
LayoutRect | anchorRect | The referenced LayoutRect or null to reference the owner LayoutView. |
AnchorParam | anchorParam | The source parameter of the |
float | offset | An increment to the value of the source parameter. |
Type | Description |
---|---|
PositionConstraint | New constraint just added. |
Adds a Right constraint relative to anchorPoint
.
public PositionConstraint SetRight(AnchorPoint anchorPoint, float offset = 0)
Public Function SetRight(anchorPoint As AnchorPoint, Optional offset As Single = 0) As PositionConstraint
Type | Name | Description |
---|---|---|
AnchorPoint | anchorPoint | The referenced AnchorPoint. |
float | offset | An increment to the position of |
Type | Description |
---|---|
PositionConstraint | New constraint just added. |