Class Justifier
Justifies items within a container based on the specified Justification.
public class Justifier
- Inheritance
-
Justifier
- Inherited Members
Properties
- ContainerSize
The size of the container.
- Justification
Gets or sets how the Justifier justifies items within a container.
- PutSpaceBetweenItems
Gets or sets whether Justify(int[]) puts a space is placed between items. Default is false. If true, a space will be placed between each item, which is useful for justifying text.
Methods
- Justify(int[])
Takes a list of items and returns their positions when justified within a container
wide based on the specified Justification.
- Justify(Justification, bool, int, int[])
Takes a list of items and returns their positions when justified within a container
containerSize
wide based on the specified Justification.