PathElement

public struct PathElement

This model represents a single path element in a path.

  • Initializer.

    Declaration

    Swift

    public init(type: PathElementType, point: CGPoint, controlPoints: [CGPoint])

    Parameters

    type

    The type of path element.

    point

    A point along the path representing this element.

    controlPoints

    The control points associated with this path element.