Representation of a file system path.
Constructors
public TextPath(string path)
Initializes a new instance of the TextPath class.
Parameters:
path (string)The path to render.
Properties
Justification
: Justify?Gets or sets the alignment.
Methods
public Measurement Measure(RenderOptions options, int maxWidth)
Measures the renderable object.
Parameters:
options (RenderOptions)The render options.
maxWidth (int)The maximum allowed width.
Returns:
The minimum and maximum width of the object.
public IEnumerable<Segment> Render(RenderOptions options, int maxWidth)
Renders the object.
Parameters:
options (RenderOptions)The render options.
maxWidth (int)The maximum allowed width.
Returns:
A collection of segments.