Table of Contents

Method Parse

Namespace
LMKit.Graphics.Geometry
Assembly
LM-Kit.NET.dll

Parse(string, IFormatProvider)

Parses a string into a Point. Accepted forms include "x,y", "x y", and "(x, y)".

public static Point Parse(string s, IFormatProvider provider = null)

Parameters

s string

The input string.

provider IFormatProvider

An optional format provider for culture-specific parsing. If null, the current culture is used.

Returns

Point

A new Point parsed from s.

Exceptions

ArgumentNullException

Thrown when s is null.

FormatException

Thrown when s is not in a recognized format.