internal static Point Parse(string str) { float[] numArray = VectorSpec.Parse(str, "point", 2); int x = (int)numArray[0]; return(new Point(x, (int)numArray[1])); }
public static SizeF Parse(string str) { float[] numArray = VectorSpec.Parse(str, "size", 2); float width = numArray[0]; return(new SizeF(width, numArray[1])); }
public static PointF Parse(string str) { float[] numArray = VectorSpec.Parse(str, "point", 2); float x = numArray[0]; return(new PointF(x, numArray[1])); }
internal static Size Parse(string str) { float[] numArray = VectorSpec.Parse(str, "size", 2); int width = (int)numArray[0]; return(new Size(width, (int)numArray[1])); }