1.3.3 • Published 6 months ago

@types/svg-outline-stroke v1.3.3

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/svg-outline-stroke

Summary

This package contains type definitions for svg-outline-stroke (https://github.com/elrumordelaluz/outline-stroke#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/svg-outline-stroke.

index.d.ts

// Type definitions for svg-outline-stroke 1.3
// Project: https://github.com/elrumordelaluz/outline-stroke#readme
// Definitions by: Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />

/**
 * Transform svg strokes into filled paths
 */
declare function outlineStroke(input: string | Buffer, params?: outlineStroke.Options): Promise<string>;

declare namespace outlineStroke {
    interface Options {
        alphaMax?: number | undefined;
        background?: string | undefined;
        blackOnWhite?: boolean | undefined;
        color?: string | undefined;
        optCurve?: boolean | undefined;
        optTolerance?: number | undefined;
        threshold?: number | undefined;
        turdSize?: number | undefined;
        turnPolicy?: string | undefined;
    }
}
export = outlineStroke;

Additional Details

  • Last updated: Fri, 02 Jul 2021 22:33:11 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by Piotr Błażejewicz.

1.3.3

6 months ago

1.3.2

7 months ago

1.3.1

3 years ago

1.3.0

3 years ago