Declaration

func copy(options: GSGlyphCopyOptions = [], selection: Bool) -> Self

Declaration

- (instancetype) copyWithOptions:(GSGlyphCopyOptions) options selection:(BOOL) selection;

Declaration

copyWithOptions_selection_(options: GSGlyphCopyOptions, selection: bool) -> GSLayer

Parameters

options

The content and initialization behavior to use for the copy.

selection

Whether selected elements are mapped to the corresponding elements in the copy.

Discussion

Selection is included only when the options include extrasGSGlyphCopyExtrasGSGlyphCopyExtras.

See Also

Copying