Initializer
init(dict:format:) initWithDict:format: initWithDict_format_
Creates a path from a Glyphs file dictionary representation.
Declaration
init?(dict pathDict: [String : Any], format formatVersion: GSFormatVersion)Declaration
- (instancetype) initWithDict:(NSDictionary<NSString *,id> *) pathDict format:(GSFormatVersion) formatVersion;Declaration
initWithDict_format_(pathDict: dict[str, object], formatVersion: GSFormatVersion) -> GSPathParameters
formatVersionThe Glyphs file format version used to interpret the representation.
Discussion
Returns nil when the representation contains no nodes or invalid data.
See Also
Creating a Path
Creates a path from the Glyphs file representation at the current parser position.
Creates a path from a sequence of node element strings.
Creates a closed rectangular path enclosing the rectangle.
Creates a closed cubic path approximating an ellipse inside the rectangle.
Creates a closed cubic path approximating a circle.
Creates a closed cubic path approximating an ellipse.