![]() |
Icon Alignment Constants |
Header: Icons.h |
enum { kAlignNone = 0, kAlignVerticalCenter = 1, kAlignTop = 2, kAlignBottom = 3, kAlignHorizontalCenter = 4, kAlignAbsoluteCenter = 5, kAlignCenterTop = 6, kAlignCenterBottom = 7, kAlignLeft = 8, kAlignCenterLeft = 9, kAlignTopLeft = 10, kAlignBottomLeft = 11, kAlignRight = 12, kAlignCenterRight = 13, kAlignTopRight = 14, kAlignBottomRight = 15 };
Use this value if you do not wish to specify a particular alignment.
Use this value to center the icon vertically within the rectangle.
Use this value to top align the icon within the rectangle.
Use this value to bottom align the icon within the rectangle.
Use this value to center the icon horizontally within the rectangle.
Use this value to center the icon horizontally and vertically within the rectangle.
Use this value to top align the icon and center it horizontally within the rectangle.
Use this value to bottom align the icon and center it horizontally within the rectangle.
Use this value to left align the icon within the rectangle.
Use this value to left align the icon and center it vertically within the rectangle.
Use this value to left and top align the icon within the rectangle.
Use this value to left and bottom align the icon within the rectangle.
Use this value to right align the icon within the rectangle.
Use this value to right align the icon and center it vertically within the rectangle.
Use this value to right and top align the icon within the rectangle.
Use this value to right and bottom align the icon within the rectangle.
The IconAlignmentType enumeration defines constants that allow you to specify how to align an icon within its rectangle.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)