VisualTreeText

References
public sealed class VisualTreeText
A string with very limited character support for drawing labels in visual tree nodes.

Properties

Bounds

#
public RectangleF Bounds { get; }
Gets the width of this symbol.

Methods

Centre

#
public void Centre(PointF centre)
Move the text so that it is centred on the given point.
centre (PointF)

Create

#
public static VisualTreeText Create(string text, float height)
Create a new tree diagram text.
text (string)
height (float)

DebugDump

#
public void DebugDump()

Draw

#
public void Draw(Graphics graphics, Pen pen)
Draw this text with the given pen.
graphics (Graphics)
pen (Pen)