Click or drag to resize

TextDraw Constructor (Vector2, String, TextDrawFont, Color)

Initializes a new instance of the TextDraw class.

Namespace:  SampSharp.GameMode.Display
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public TextDraw(
	Vector2 position,
	string text,
	TextDrawFont font,
	Color foreColor
)

Parameters

position
Type: SampSharp.GameModeVector2
The position of the textdraw on the screen.
text
Type: SystemString
The text of the textdraw.
font
Type: SampSharp.GameMode.DefinitionsTextDrawFont
The TextDrawFont of the textdraw.
foreColor
Type: SampSharp.GameMode.SAMPColor
The foreground Color of the textdraw.
See Also