Creates new XText2D class instance.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public XText2D(
	string text,
	Font font,
	Color color,
	Color backColor,
	Size clip,
	DrawTextFormat format
)

Parameters

text
Type: System..::.String
Displayed text.
font
Type: Font
The DirectX surface Font font type.
color
Type: System.Drawing..::.Color
Text color.
backColor
Type: System.Drawing..::.Color
Text background color.
clip
Type: System.Drawing..::.Size
The clipping rectangle for the visible part of the text.
format
Type: DrawTextFormat
The DrawTextFormat text format defines way of displaying the text.

See Also