Declaration

func copy(options: GSGlyphCopyOptions = []) -> Any

Declaration

- (id) copyWithOptions:(GSGlyphCopyOptions) options;

Declaration

copyWithOptions_(options: GSGlyphCopyOptions) -> object

Parameters

options

The content and initialization behavior to use for the copy.

Discussion

Most glyph-level metadata is copied regardless of the options. The options select the layer kinds and optional data to include. A custom color requires extrasGSGlyphCopyExtrasGSGlyphCopyExtras, and glyph-local axes require specialLayersGSGlyphCopySpecialLayersGSGlyphCopySpecialLayers. The returned glyph has no parent.

See Also

Copying and Equality