UNPKG

alecmce-primitivesjs

Version:

A small library for visualizing the prime factor decomposition of numbers.

21 lines (20 loc) 650 B
import { DrawCircle } from './circle'; import { Item, ItemConfig } from './item'; import { Svg } from './svg'; export interface FibonacciProps { readonly count: number; readonly color: string; readonly padding: number; readonly child: any; } export declare class Fibonacci implements Item { private readonly count; private readonly drawCircle; private readonly color; private readonly padding; private readonly child; private readonly offset; readonly radius: number; constructor(count: number, drawCircle: DrawCircle, color: string, padding: number, child: Item); draw(config: ItemConfig): Svg; }