Neuron | Image Quantization Library (image-q)

### Hierarchy

- Neuron

## Index

### Constructors

- constructor

### Properties

- a
- b
- g
- r

### Methods

- subtract
- toPoint

## Constructors

### constructor

- new Neuron(defaultValue: any): Neuron

- - Defined in palette/neuquant/neuquant.ts:42

  #### Parameters

  - ##### defaultValue: any

  #### Returns Neuron

## Properties

### a

a: any

- Defined in palette/neuquant/neuquant.ts:42

### b

b: any

- Defined in palette/neuquant/neuquant.ts:41

### g

g: any

- Defined in palette/neuquant/neuquant.ts:40

### r

r: any

- Defined in palette/neuquant/neuquant.ts:39

## Methods

### subtract

- subtract(r: number, g: number, b: number, a: number): void

- - Defined in palette/neuquant/neuquant.ts:59

  #### Parameters

  - ##### r: number

  - ##### g: number

  - ##### b: number

  - ##### a: number

  #### Returns void

### toPoint

- toPoint(): Point

- - Defined in palette/neuquant/neuquant.ts:48

  #### Returns Point

Generated using TypeDoc