Instance Method
copy(options:)copyWithOptions:copyWithOptions_
Creates an independent copy with the requested optional content.
Declaration
func copy(options: GSGlyphCopyOptions = []) -> SelfDeclaration
- (instancetype) copyWithOptions:(GSGlyphCopyOptions) options;Declaration
copyWithOptions_(options: GSGlyphCopyOptions) -> GSLayerParameters
optionsThe content and initialization behavior to use for the copy.
Discussion
Shapes, anchors, hints, metrics, attributes, and user data are always copied. Options control additional content such as the background, guides, annotations, and drawing state.
See Also
Copying
Creates an independent copy with the requested optional content and selection handling.