Declaration

convenience init?(string pathString: String, isClosed: Bool)

Declaration

+ (instancetype) pathWithString:(NSString *) pathString isClosed:(BOOL) isClosed;

Declaration

pathWithString_isClosed_(pathString: str, isClosed: bool) -> GSPath

Parameters

isClosed

Whether to create a closed path.

Discussion

Separate node element strings with semicolons. Do not include surrounding quotation marks or trailing whitespace.

For example:

@"369 29 o;450 61 o;509 118 o;542 196 o;542 241 qs;542 324 o;482 381 q;322 29 l"

May return nil when the path string cannot be parsed.

See Also

Creating a Path