Instance Method
copy(options:)copyWithOptions: copyWithOptions_
Creates a detached copy with selected layer and editing content.
Declaration
func copy(options: GSGlyphCopyOptions = []) -> AnyDeclaration
- (id) copyWithOptions:(GSGlyphCopyOptions) options;Declaration
copyWithOptions_(options: GSGlyphCopyOptions) -> objectParameters
optionsThe 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 extrasGS
See Also
Copying and Equality
Whether another glyph has matching layer contents and core glyph settings.