Initializes a new instance of the String2D class

Namespace:  Bespoke.Games.Framework
Assembly:  Bespoke.Games.Framework (in Bespoke.Games.Framework.dll) Version: 4.3.0.0 (4.3.0.0)

Syntax

C#
public String2D(
	string name,
	SpriteFont font,
	string text,
	float x,
	float y,
	Color color
)
Visual Basic (Declaration)
Public Sub New ( _
	name As String, _
	font As SpriteFont, _
	text As String, _
	x As Single, _
	y As Single, _
	color As Color _
)
Visual C++
public:
String2D(
	String^ name, 
	SpriteFont^ font, 
	String^ text, 
	float x, 
	float y, 
	Color color
)

Parameters

name
Type: System..::.String

[Missing <param name="name"/> documentation for "M:Bespoke.Games.Framework.String2D.#ctor(System.String,Microsoft.Xna.Framework.Graphics.SpriteFont,System.String,System.Single,System.Single,Microsoft.Xna.Framework.Graphics.Color)"]

font
Type: SpriteFont

[Missing <param name="font"/> documentation for "M:Bespoke.Games.Framework.String2D.#ctor(System.String,Microsoft.Xna.Framework.Graphics.SpriteFont,System.String,System.Single,System.Single,Microsoft.Xna.Framework.Graphics.Color)"]

text
Type: System..::.String

[Missing <param name="text"/> documentation for "M:Bespoke.Games.Framework.String2D.#ctor(System.String,Microsoft.Xna.Framework.Graphics.SpriteFont,System.String,System.Single,System.Single,Microsoft.Xna.Framework.Graphics.Color)"]

x
Type: System..::.Single

[Missing <param name="x"/> documentation for "M:Bespoke.Games.Framework.String2D.#ctor(System.String,Microsoft.Xna.Framework.Graphics.SpriteFont,System.String,System.Single,System.Single,Microsoft.Xna.Framework.Graphics.Color)"]

y
Type: System..::.Single

[Missing <param name="y"/> documentation for "M:Bespoke.Games.Framework.String2D.#ctor(System.String,Microsoft.Xna.Framework.Graphics.SpriteFont,System.String,System.Single,System.Single,Microsoft.Xna.Framework.Graphics.Color)"]

color
Type: Color

[Missing <param name="color"/> documentation for "M:Bespoke.Games.Framework.String2D.#ctor(System.String,Microsoft.Xna.Framework.Graphics.SpriteFont,System.String,System.Single,System.Single,Microsoft.Xna.Framework.Graphics.Color)"]

See Also