Neverending Package Mountain

    canvas-fill-text-on-arc

    1.0.4 • Public • Published

    canvas-fill-text-on-arc

    Utility function for drawing text on an arc using the canvas API.

    Install

    npm install canvas-fill-text-on-arc

    Usage

    import fillTextOnArc from 'canvas-fill-text-on-arc';
     
    // Set font
    context.font = 'normal 14px serif';
     
    // Draw text
    fillTextOnArc(
      context,
      'some text',
      cx,
      cy,
      radius,
      spacing
    );

    Install

    npm i canvas-fill-text-on-arc

    DownloadsWeekly Downloads

    6

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    2.85 kB

    Total Files

    5

    Last publish

    Collaborators

    • riccardoscalco