Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "beziers-to-svg-path-str"

Index

Functions

beziersToSvgPathStr

  • beziersToSvgPathStr(beziers: number[][][], decimalPlaces?: number): string
  • Returns an SVG path string representation of the given cubic bezier loop.

    Parameters

    • beziers: number[][][]

      An array of cubic bezier curves each given as an array of control points.

    • Default value decimalPlaces: number = 10

      The number of decimal places in the returned path string.

    Returns string

Generated using TypeDoc