Declaration

func interpolate(_ interpolation: [AnyHashable : Any], masters: [Any]) throws -> GSLayer

Declaration

- (GSLayer *) interpolate:(NSDictionary *) interpolation masters:(NSArray *) masters error:(NSError **) error;

Declaration

interpolate_masters_error_(interpolation: dict, masters: list) -> tuple[GSLayer, NSError]

Parameters

interpolation

The interpolation coefficient for each participating layer or font master identifier.

masters

The font masters corresponding to the source layers.

Parameters

interpolation

The interpolation coefficient for each participating layer or font master identifier.

masters

The font masters corresponding to the source layers.

error

On return, an error that prevented complete interpolation.

Discussion

The coefficients are keyed by layer or font master identifier. A coefficient can be scalar or contain independent horizontal and vertical values. The source layers must have matching structure.

See Also

Interpolation

See Also

Interpolation