Declaration

func flattenOutlinesRemoveOverlap(_ removeOverlap: Bool, origHints: [GSHint]?, secondaryPath: NSBezierPath?, extraHandles: NSMutableArray?) throws

Declaration

- (BOOL) flattenOutlinesRemoveOverlap:(BOOL) removeOverlap origHints:(NSArray<GSHint *> *) origHints secondaryPath:(NSBezierPath *) secondaryPath extraHandles:(NSMutableArray *) extraHandles error:(NSError **) error;

Declaration

flattenOutlinesRemoveOverlap_origHints_secondaryPath_extraHandles_error_(removeOverlap: bool, origHints: list[GSHint], secondaryPath: NSBezierPath, extraHandles: list) -> tuple[bool, NSError]

Parameters

removeOverlap

Whether to remove overlaps from outlines of moderate complexity.

origHints

Original hints that receive updated corner representation data.

secondaryPath

A path to which the original path outlines are appended.

extraHandles

A collection to which handles produced while flattening are appended.

Parameters

removeOverlap

Whether to remove overlaps from outlines of moderate complexity.

origHints

Original hints that receive updated corner representation data.

secondaryPath

A path to which the original path outlines are appended.

extraHandles

A collection to which handles produced while flattening are appended.

error

On output, a pointer to an error object that describes why the method failed, or nil if no error occurred. If you are not interested in the error information, pass nil for this parameter.

Discussion

Components, stroke paint, masks, and other shape composition are resolved into paths.

Return Value

Whether the outlines were flattened successfully.

Discussion

Components, stroke paint, masks, and other shape composition are resolved into paths.

See Also

Flattening Outlines