Enum Alignment
How to behave when composing two Box<T>es with mismatched sizes.
Declaration
public enum Alignment
Fields
Name | Description |
---|---|
CenterEnd |
Align the smaller box with the centre of the larger one. If the box can't be exactly centred (because the width difference is an odd number), align it one character closer to the end. |
CenterStart |
Align the smaller box with the centre of the larger one. If the box can't be exactly centred (because the width difference is an odd number), align it one character closer to the start. |
End |
Align the smaller box with the end (the bottom or right) of the larger one. |
Start |
Align the smaller box with the start (the top or left) of the larger one. |