Enumeration

CAConstraintAttribute

The constraint attribute type.

Declaration

enum CAConstraintAttribute : Int32

Topics

Enumeration Cases

case height

The height of a layer.

case maxX

The right edge of a layer’s frame.

case maxY

The top edge of a layer’s frame.

case midX

The horizontal location of the center of a layer’s frame.

case midY

The vertical location of the center of a layer’s frame.

case minX

The left edge of a layer’s frame.

case minY

The bottom edge of a layer’s frame.

case width

The width of a layer.