IconLib REALbasic Plugin

IconAlign Module

A set of constants that define Icon alignment types for MacOS systems.

module IconAlign

Constants

kAlignNone = 0Use this value if you do not wish to specify a particular alignment.
kAlignVerticalCenter = 1Use this value to center the icon vertically within the rectangle.
kAlignTop = 2Use this value to top align the icon within the rectangle.
kAlignBottom = 3Use this value to bottom align the icon within the rectangle.
kAlignHorizontalCenter = 4Use this value to center the icon horizontally within the rectangle.
kAlignAbsoluteCenter = 5Use this value to center the icon horizontally and vertically within the rectangle.
kAlignCenterTop = 6Use this value to top align the icon and center it horizontally within the rectangle.
kAlignCenterBottom = 7Use this value to bottom align the icon and center it horizontally within the rectangle.
kAlignLeft = 8Use this value to left align the icon within the rectangle.
kAlignCenterLeft = 9Use this value to left align the icon and center it vertically within the rectangle.
kAlignTopLeft = 10Use this value to left and top align the icon within the rectangle.
kAlignBottomLeft = 11Use this value to left and bottom align the icon within the rectangle.
kAlignRight = 12Use this value to right align the icon within the rectangle.

kAlignCenterRight = 13Use this value to right align the icon and center it vertically within the rectangle.

kAlignTopRight = 14Use this value to right and top align the icon within the rectangle.
kAlignBottomRight = 15Use this value to right and bottom align the icon within the rectangle.