# circle-sector

> Class for a sector of a circle

Latest version **0.2.1** (published 2016-03-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install circle-sector
pnpm add circle-sector
yarn add circle-sector
bun add circle-sector
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2016-03-20 |
| First published | 2016-03-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Adrian Sieber |
| Maintainers | datatypes |
| Keywords | circle, sector |

## Links

- npm: https://www.npmjs.com/package/circle-sector
- Repository: https://github.com/adius/circle-sector
- Homepage: https://github.com/datatypesjs/circle-sector#readme
- Issues: https://github.com/datatypesjs/circle-sector/issues
- npm.io page: https://npm.io/package/circle-sector

## Dependencies (2)

- [deg2rad](https://npm.io/package/deg2rad.md) ^1.0.0
- [coordinate-systems](https://npm.io/package/coordinate-systems.md) ^1.1.0

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 0.2.1 (latest) — 2016-03-20
- 0.2.0 — 2016-03-20
- 0.1.0 — 2016-03-20

## README

# Circle Sector

Class for a sector of a circle.
Supports export to SVG-path string.


## Installation

```shell
npm install --save @datatypes/circle-sector
```


## Usage

```js
import CircleSector from '@datatypes/circle-sector'

const sector = new CircleSector({
	x: 10,
	y: 15,
	radius: 5,
	startAngleInDeg: 30,
	endAngleInDeg: 85,
})

console.log(sector.svgPath)

// M10,15
// L14.330127018922195,12.5
// A5,5 0 0 0 10.43577871373829,10.019026509541273
// Z
```

---
_Source: https://npm.io/package/circle-sector · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
