Text Constructor (String, Font)

SFML.Net

Text Constructor (String, Font)
Construct the text from a string and a font

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public Text(
	string str,
	Font font
)
Public Sub New ( 
	str As String,
	font As Font
)
public:
Text(
	String^ str, 
	Font^ font
)
new : 
        str : string * 
        font : Font -> Text

Parameters

str
Type: SystemString
String to display
font
Type: SFML.GraphicsFont
Font to use
See Also