TextBalloonF

References
public class TextBalloonF : IDisposable
A BalloonF shape surrounding some lines of text.

Properties

InnerBounds

#
Gets the bounds of the text of this balloon.
public RectangleF InnerBounds { get; }

Lines

#
Gets the individual lines drawn in this ballooon. Null entries in the line array indicate a separator line.
public string[] Lines { get; }

OuterBounds

#
Gets the outer bounds of this balloon.
public RectangleF OuterBounds { get; }

Outline

#
Gets the full outline of the balloon.
public GraphicsPath Outline { get; }

Tip

#
Gets the tip of the balloon.
public PointF Tip { get; }

Methods

Create

#
Create a new balloon.
public static TextBalloonF Create(
Font
font,
Font to use.
PointF
tip,
Location of tip.
side,
Size of tip (0=below, 1=above, 2=left, 3=right).
maximumWidth,
Maximum width hint of balloon. Words in the text will be broken into lines to try and reduce the width of the ballon to fall under this limit.
params string[]
content
String to display inside balloon.
)

Dispose

#
public void Dispose()

Draw

#
Draw the text balloon into a graphics context.
public void Draw(
Graphics
graphics,
Graphics object.
shade,
Shade.
scale = 1
Scale.
)