Creates new XText2D class instance.
            
    Namespace: 
   SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
| C# | 
|---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public XText2D( string text, Font font, Color color, 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. 
- 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.