Instance Method
addMaster(from:)addMasterFromInstance:error: addMasterFromInstance_error_
Adds the generated contents of an instance as a new local master.
Declaration
func addMaster(from instance: GSInstance) throwsDeclaration
- (BOOL) addMasterFromInstance:(GSInstance *) instance error:(NSError **) error;Declaration
addMasterFromInstance_error_(instance: GSInstance) -> tuple[bool, NSError]Parameters
errorOn output, a pointer to an error object that describes why the method failed, or
nilif no error occurred. If you are not interested in the error information, passnilfor this parameter.
Return Value
YES if the instance could be generated and added.
See Also
Master Content
Adds a local master and copies the content associated with it into the font.
Inserts a local master and copies the content associated with it into the font.
Removes a local master and the layer content associated with it.
Replaces a local master at an index without changing layer content.
Copies glyph layers associated with one master identifier to another master identifier.
Copies layers associated with one master identifier to another master identifier.
Copies master-specific font information from one master identifier to another master identifier.
Adds a master from another font as a new local master.