Instance Method
interpolateFull:masters:scale:keepSmart:layerName:additionalLayers:error: interpolateFull:masters:scale:keepSmart:layerName:additionalLayers:error: interpolateFull_masters_scale_keepSmart_layerName_additionalLayers_error_
A detached layer interpolated for an instance, or nil when interpolation fails.
Not available in Swift.
Declaration
- (GSLayer *) interpolateFull:(GSInstance *) instance masters:(NSArray *) masters scale:(CGFloat) scale keepSmart:(BOOL) keepSmart layerName:(NSString *) layerName additionalLayers:(NSMutableArray *) additionalLayers error:(NSError **) error;Declaration
interpolateFull_masters_scale_keepSmart_layerName_additionalLayers_error_(instance: GSInstance, masters: list, scale: float, keepSmart: bool, layerName: str, additionalLayers: list) -> tuple[GSLayer, NSError]Parameters
instanceThe instance that supplies the interpolation location and settings.
mastersThe font masters participating in the interpolation.
scaleThe coordinate scale applied to the result.
keepSmartWhether Smart Components remain components when possible.
layerNameThe name of corresponding source layers to interpolate, or
nilfor the primary layers.additionalLayersA collection to which interpolated color and corner layers are appended, or
nilwhen they are not needed.errorOn return, an error that prevented interpolation.
Discussion
This method accounts for active Intermediate and Alternative layers, Smart Components, and pre-interpolation filters. The source layers must have matching structure.