Instance Method
mastersCompatible(forLayerIds:options:) mastersCompatibleForLayerIds:options: mastersCompatibleForLayerIds_options_
Whether selected aspects of the specified layers have matching structure.
Declaration
func mastersCompatible(forLayerIds fontMasterIds: [String], options: GSLayerCompareFlags) -> BoolDeclaration
- (BOOL) mastersCompatibleForLayerIds:(NSArray<NSString *> *) fontMasterIds options:(GSLayerCompareFlags) options;Declaration
mastersCompatibleForLayerIds_options_(fontMasterIds: list[str], options: GSLayerCompareFlags) -> boolParameters
fontMasterIdsThe layer identifiers to compare.
optionsThe aspects of the layers to compare.
Discussion
The first layer establishes the required structure. Inactive subsequent layers do not affect the result.
See Also
Layer Compatibility
Whether every layer group has matching structure for interpolation.
Whether the layers have matching shapes, anchor names, and path-component hints.
Whether the specified layers have matching shapes, anchor names, and path-component hints.
Marks layer compatibility for reevaluation.
Clears the shapes of active layers whose selected aspects do not match the first layer.