These constants represent the geometric edge or axis of a constraint.
Available in Mac OS X v10.5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public enum CAConstraintAttribute
Public Enumeration CAConstraintAttribute
public enum class CAConstraintAttribute
Members
Member | Description |
---|---|
kCAConstraintMinX | The left edge of a layer’s frame. Available in Mac OS X v10.5 and later. |
kCAConstraintMidX | The horizontal location of the center of a layer’s frame. Available in Mac OS X v10.5 and later. |
kCAConstraintMaxX | The right edge of a layer’s frame. Available in Mac OS X v10.5 and later. |
kCAConstraintWidth | The width of a layer. Available in Mac OS X v10.5 and later. |
kCAConstraintMinY | The bottom edge of a layer’s frame. Available in Mac OS X v10.5 and later. |
kCAConstraintMidY | The vertical location of the center of a layer’s frame. Available in Mac OS X v10.5 and later. |
kCAConstraintMaxY | The top edge of a layer’s frame. Available in Mac OS X v10.5 and later. |
kCAConstraintHeight | The height of a layer. Available in Mac OS X v10.5 and later. |
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)