Instance Method
removeIncompatibleLayerContent(_:options:) removeIncompatibleLayerContent:options: removeIncompatibleLayerContent_options_
Clears the shapes of active layers whose selected aspects do not match the first layer.
Declaration
func removeIncompatibleLayerContent(_ fontMasterIds: [String], options: GSLayerCompareFlags) -> [String]Declaration
- (NSArray<NSString *> *) removeIncompatibleLayerContent:(NSArray<NSString *> *) fontMasterIds options:(GSLayerCompareFlags) options;Declaration
removeIncompatibleLayerContent_options_(fontMasterIds: list[str], options: GSLayerCompareFlags) -> list[str]Parameters
fontMasterIdsThe layer identifiers to inspect.
optionsThe aspects of the layers to compare.
Return Value
The identifiers whose layers were retained.
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.
Whether selected aspects of the specified layers have matching structure.
Marks layer compatibility for reevaluation.