Instance Method
attributesDict(_:)attributesDict:attributesDict_
An attribute representation for the specified Glyphs file format version.
Declaration
func attributesDict(_ format: GSFormatVersion) -> [GSLayerAttribute : Any]Declaration
- (NSDictionary<NSString *,id> *) attributesDict:(GSFormatVersion) format;Declaration
attributesDict_(format: GSFormatVersion) -> dict[str, object]Parameters
formatThe Glyphs file format version for which to encode the attributes.
Discussion
The representation converts axis identifiers and fills values required by older formats.
See Also
Encoding
A property-list representation for the specified Glyphs file format version.
Writes the layer in the specified Glyphs file format.
Values deferred until the layer can complete format-dependent decoding.
Stores a value for format-dependent decoding after the layer hierarchy is available.
Completes format-dependent decoding after the layer has been attached to its object hierarchy.
Encodes layer elements as Glyphs property-list data.