Instance Method
copy(options:selection:) copyWithOptions:selection: copyWithOptions_selection_
Creates an independent copy with the requested optional content and selection handling.
Declaration
func copy(options: GSGlyphCopyOptions = [], selection: Bool) -> SelfDeclaration
- (instancetype) copyWithOptions:(GSGlyphCopyOptions) options selection:(BOOL) selection;Declaration
copyWithOptions_selection_(options: GSGlyphCopyOptions, selection: bool) -> GSLayerParameters
optionsThe content and initialization behavior to use for the copy.
selectionWhether selected elements are mapped to the corresponding elements in the copy.
Discussion
Selection is included only when the options include extrasGSGlyphCopyExtrasGSGlyphCopyExtras.
See Also
Copying
Creates an independent copy with the requested optional content.