Contains extension methods for IHasJustification.
Methods
public static T Centered<T>(T obj)
Sets the IHasJustification object to be centered.
Parameters:
obj (T)The alignable object.
Returns:
The same instance so that multiple calls can be chained.
public static T Justify<T>(T obj, Justify? alignment)
Sets the justification for an IHasJustification object.
Parameters:
obj (T)The alignable object.
alignment (Justify?)The alignment.
Returns:
The same instance so that multiple calls can be chained.
public static T LeftJustified<T>(T obj)
Sets the IHasJustification object to be left justified.
Parameters:
obj (T)The alignable object.
Returns:
The same instance so that multiple calls can be chained.
public static T RightJustified<T>(T obj)
Sets the IHasJustification object to be right justified.
Parameters:
obj (T)The alignable object.
Returns:
The same instance so that multiple calls can be chained.