Instance Method
replaceLayers(withInterpolation:error:) replaceLayersWithInterpolation:error: replaceLayersWithInterpolation_error_
Replaces layer contents with interpolation from the remaining layers in each layer group.
Declaration
func replaceLayers(withInterpolation layers: [GSLayer], error: ()) throwsDeclaration
- (BOOL) replaceLayersWithInterpolation:(NSArray<GSLayer *> *) layers error:(NSError **) error;Declaration
replaceLayersWithInterpolation_error_(layers: list[GSLayer]) -> tuple[bool, NSError]Parameters
layersThe layers belonging to the glyph that are recalculated.
errorOn return, an error that prevented recalculation.
Discussion
Use this to recalculate Intermediate layers or restore font master layers from the other masters.
Return Value
Whether all requested layers were recalculated.
Discussion
Use this to recalculate Intermediate layers or restore font master layers from the other masters.
See Also
Interpolation
A detached layer formed by applying interpolation coefficients to compatible source layers.
A detached layer interpolated for an instance together with its additional layers.
Adds the corresponding interpolated Smart Component layers to a target glyph.
The nearest font master in one direction along an axis, or
nilwhen none exists.
See Also
Interpolation
A detached layer formed by applying interpolation coefficients to compatible source layers.
Adds the corresponding interpolated Smart Component layers to a target glyph.
Finds the nearest font master in one direction along an axis while keeping the other axis coordinates fixed.