Declaration

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

Declaration

- (instancetype) copyWithOptions:(GSGlyphCopyOptions) options;

Declaration

copyWithOptions_(options: GSGlyphCopyOptions) -> GSLayer

Parameters

options

The 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