Declaration

func setAttributes(_ attributes: [GSShapeKey : Any], format: GSFormatVersion)

Declaration

- (void) setAttributes:(NSDictionary<NSString *,id> *) attributes format:(GSFormatVersion) format;

Declaration

setAttributes_format_(attributes: dict[str, object], format: GSFormatVersion)

Parameters

format

The file format version used to decode attribute values.

Discussion

Replacing the attributes with a dictionary registers undo and notifies the path.

See Also

Attributes