public static bool TryParse(string value, out SvgCoordinate result) { if (SvgLength.TryParse(value, out var length)) { result = new SvgCoordinate(length.Value, length.Unit); return(true); } else { result = default(SvgCoordinate); return(false); } }
public static bool TryParse(string value, out SvgCoordinate result) { if (SvgLength.TryParse(value, out var length)) { result = new SvgCoordinate(length.Value, length.Unit); return(true); } else { result = default(SvgCoordinate); return(false); } }