 | ThemeHelperParseVector2F Method |
Converts the specified string representation of a 2-dimensional vector to its
Vector2F equivalent, or throws an exception if the string cannot be
converted to a
Vector2F.
Namespace: DigitalRune.Game.UI.RenderingAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntaxpublic static Vector2F ParseVector2F(
string value
)
Public Shared Function ParseVector2F (
value As String
) As Vector2F
public:
static Vector2F ParseVector2F(
String^ value
)
static member ParseVector2F :
value : string -> Vector2F
Parameters
- value
- Type: SystemString
The value. If this value is or an empty string,
Zero is returned as the default value.
Return Value
Type:
Vector2FThe
Vector2F.
Exceptions
See Also