'Declaration Public Overloads Function SetHorizontalCenter( _ ByVal anchorRect As LayoutRect, _ ByVal anchorParam As AnchorParam, _ Optional ByVal offset As System.Single _ ) As PositionConstraint
public PositionConstraint SetHorizontalCenter( LayoutRect anchorRect, AnchorParam anchorParam, System.float offset )
Parameters
- anchorRect
- The referenced LayoutRect or a null reference (Nothing in Visual Basic) to reference the owner LayoutView.
- anchorParam
- The source parameter of the anchorRect.
- offset
- An increment to the value of the source parameter.
Return Value
New constraint just added.