Declaration

func update(_ feature: GSFeature, for font: GSFont) throws

Declaration

- (BOOL) updateFeature:(GSFeature *) feature forFont:(GSFont *) font error:(NSError **) error;

Declaration

updateFeature_forFont_error_(feature: GSFeature, font: GSFont) -> tuple[bool, NSError]

Parameters

feature

The Feature that should be updated

font

The font object that contains the feature

Parameters

feature

The Feature that should be updated

font

The font object that contains the feature

error

If something goes wrong, retunes an NSError by reference.

Discussion

If the Feature is not there, it will be added

Return Value

NO if there was a problem

Discussion

If the Feature is not there, it will be added