Initializer
init(dict:format:) initWithDict:format: initWithDict_format_
Creates a concrete shape from a Glyphs file dictionary representation.
Declaration
init?(
dict: [String : Any],
format formatVersion: GSFormatVersion
)Declaration
- (instancetype) initWithDict:(NSDictionary<NSString *,id> *) dict
format:(GSFormatVersion) formatVersion;Declaration
initWithDict_format_(
dict: dict[str, object],
formatVersion: GSFormatVersion
) -> GSShapeParameters
formatVersionThe Glyphs file format version used to interpret the representation.
Discussion
Call this initializer on a concrete GSShape subclass.
See Also
Creating a Shape
Finishes loading after the shape has been attached to its layer.