PlainText Constructor (String, Font, Brush, PointF, TextAlignment)

Initializes a new instance of the PlainText object with the specified Font, SolidBrush, TextAlignment, and baseline coordinates.

Namespace: Aurigma.GraphicsMill.AdvancedDrawing
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public PlainText(
	string text,
	Font font,
	Brush brush,
	PointF point,
	TextAlignment alignment
)

Parameters

text

Type: System.String

A string to draw.
font

Type: Aurigma.GraphicsMill.AdvancedDrawing.Font

Defines the font characteristics of the text.
brush

Type: Aurigma.GraphicsMill.AdvancedDrawing.Brush

SolidBrush determining the color of the drawn text.
point

Type: System.Drawing.PointF

The starting point of the baseline.
alignment

Type: Aurigma.GraphicsMill.AdvancedDrawing.TextAlignment

Specifies alignment of the text.

See Also

Reference