🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@types/lineclip

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/lineclip

TypeScript definitions for lineclip

ts4.5
ts4.6
ts4.7
ts4.8
ts4.9
ts5.0
ts5.1
Source
npmnpm
Version
1.1.1
Version published
Weekly downloads
517
9.77%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/lineclip

Summary

This package contains type definitions for lineclip (https://github.com/mapbox/lineclip#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lineclip.

index.d.ts

declare namespace Lineclip {
    type Point = [number, number];
    type BoundingBox = [number, number, number, number];
    type LineClipResult = Point[];

    function polyline(points: Point[], bbox: BoundingBox, result?: LineClipResult[]): LineClipResult;
    function polygon(points: Point[], bbox: BoundingBox): LineClipResult;
}

declare function Lineclip(
    points: Lineclip.Point[],
    bbox: Lineclip.BoundingBox,
    result?: Lineclip.LineClipResult[],
): Lineclip.LineClipResult;
export = Lineclip;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:38 GMT
  • Dependencies: none

Credits

These definitions were written by Sikriti Dakua.

FAQs

Package last updated on 07 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts