Skip to content
UIConstraintAnchors

界面 / UIConstraintAnchors

UIConstraintAnchors Class

节点对齐规则

Table of contents

Properties

constraintHorizontal: UIConstraintHorizontal
水平对齐规则
constraintVertical: UIConstraintVertical
垂直对齐规则

构造一个默认的

new UIConstraintAnchors(InConstraintHorizontal, InConstraintVertical)

通过水平和垂直规则构造对象

Parameters

InConstraintHorizontal UIConstraintHorizontal水平对齐规则
InConstraintVertical UIConstraintVertical垂直对齐规则

Properties

constraintHorizontal

constraintHorizontal: UIConstraintHorizontal

水平对齐规则


constraintVertical

constraintVertical: UIConstraintVertical

垂直对齐规则