PlainText Constructor (String, Font, Brush, Single, Single, 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,
	float x,
	float y,
	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.
x

Type: System.Single

The x-coordinate of the starting point of the baseline.
y

Type: System.Single

The y-coordinate of the starting point of the baseline.
alignment

Type: Aurigma.GraphicsMill.AdvancedDrawing.TextAlignment

Specifies alignment of the text.

See Also

Reference