Struct Alignment
A structure representing the alignment settings to apply when rendering a property.
public readonly struct Alignment
- Inherited Members
Constructors
Alignment(AlignmentDirection, int)
Initializes a new instance of Alignment.
public Alignment(AlignmentDirection direction, int width)
Parameters
directionAlignmentDirectionThe text alignment direction.
widthintThe width of the text, in characters.
Properties
Direction
The text alignment direction.
public AlignmentDirection Direction { get; }
Property Value
Width
The width of the text.
public int Width { get; }