Declaration

func primitiveRepresentation() -> GSPath

Declaration

- (GSPath *) primitiveRepresentation;

Declaration

primitiveRepresentation() -> GSPath

Discussion

  • Node types are limited to GSNodeTypeLine, GSNodeTypeCubicCurve, GSNodeTypeQuadraticCurve, and GSNodeTypeOffCurve.

  • Connections are limited to GSNodeConnectionSharp and GSNodeConnectionSmooth.

  • Path components (corners, caps, segments, brushes) are decomposed.

Returns self when the path is already primitive.

See Also

Representations