Instance Method
replaceCustomParameter(at:with:) replaceObjectInCustomParametersAtIndex:withObject: replaceObjectInCustomParametersAtIndex_withObject_
Replaces the custom parameter at an index.
Declaration
func replaceCustomParameter(at idx: UInt, with customParameter: GSCustomParameter)Declaration
- (void) replaceObjectInCustomParametersAtIndex:(NSUInteger) idx withObject:(GSCustomParameter *) customParameter;Declaration
replaceObjectInCustomParametersAtIndex_withObject_(idx: int, customParameter: GSCustomParameter)Parameters
idxA valid index in customParameters.
Discussion
The replacement custom parameter belongs to the font after it is inserted.
See Also
Custom Parameters
Custom parameters stored in the font.
The number of custom parameters.
The custom parameter at an index.
The first custom parameter with a name.
The first active custom parameter with a name.
The value of an active custom parameter.
The Boolean value of an active custom parameter.
The color value of an active custom parameter.
Sets the value of a custom parameter.
Adds a custom parameter.
Inserts a custom parameter at an index.
Removes a custom parameter.
Removes the custom parameter at an index.
Removes the first custom parameter with a name.
Invalidates cached active custom parameter values.