KeySplineParse Method

Parse a KeySpline from a string. The string needs to contain 4 values in it for the 2 control points.

Definition

Namespace: Avalonia.Animation
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static KeySpline Parse(
	string value,
	CultureInfo? culture
)

Parameters

value  String
string with 4 values in it
culture  CultureInfo
culture of the string

Return Value

KeySpline
A KeySpline with the appropriate values set

Exceptions

FormatExceptionThrown if the string does not have 4 values

See Also