These constants represent the geometric edge or axis of a constraint.
Available in Mac OS X v10.5 and later.
| C# | Visual Basic | Visual C++ |
public enum CAConstraintAttribute
Public Enumeration CAConstraintAttribute
public enum class CAConstraintAttribute
| 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. |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)