The WxShapesAlignment enumeration contains types of object alignment. The enumeration is used by the method:
Value | Brief description |
0 | Left. Left. Collection shapes are aligned to the left edge with respect to the leftmost shape. |
1 | Right. Right. Collection shapes are aligned to the right edge with respect to the rightmost shape. |
2 | HorizontalCenter. Horizontal center. Center is calculated based on the position of the uppermost and lowermost collection shapes with due account for the shape sizes. |
3 | Top. Top. Collection shapes are to be aligned to the top edge with respect to the uppermost shape. |
4 | Bottom. Bottom. Collection shapes are to be aligned to the bottom with respect to the lowermost shape. |
5 | VerticalCenter. Vertical center. Center is calculated based on the position of the leftmost and rightmost collection shapes with due account for the shape sizes. |
6 | DistributeHorizontal. Horizontal distribution. Collection shapes will be spaced horizontally at the same distance. |
7 | DistributeVertical. Vertical distribution. Collection shapes will be spaced vertically at the same distance. |
See also: