Instance Method
primitiveRepresentation()primitiveRepresentationprimitiveRepresentation
A path tracing the same outline using primitive node types and connections.
Declaration
func primitiveRepresentation() -> GSPathDeclaration
- (GSPath *) primitiveRepresentation;Declaration
primitiveRepresentation() -> GSPathDiscussion
Node types are limited to
GSNodeTypeLine,GSNodeTypeCubicCurve,GSNodeTypeQuadraticCurve, andGSNodeTypeOffCurve.Connections are limited to
GSNodeConnectionSharpandGSNodeConnectionSmooth.Path components (corners, caps, segments, brushes) are decomposed.
Returns self when the path is already primitive.
See Also
Representations
An AppKit drawing path for the path.
Stroke outlines built from the path stroke attributes.
A path with path components expanded into outline nodes.
Removes outside overlaps at sharp line corners.
Replaces a corner, cap, segment, brush, or head hint with outline geometry.
A cubic path representation with special curve types converted to Bezier curves.
Paths tracing the same outline using primitive node types and connections.
Whether the path already uses primitive node types and connections.