Transform.parse

bool parse(string string_, out gsk.transform.Transform outTransform)

Parses the given string into a transform and puts it in out_transform.

Strings printed via [gsk.transform.Transform.toString_] can be read in again successfully using this function.

If string does not describe a valid transform, false is returned and null is put in out_transform.

Parameters

string_the string to parse
outTransformThe location to put the transform in

Returns

true if string described a valid transform.