UNPKG

gramoloss

Version:

Graph theory package for edition and computation

17 lines (16 loc) 492 B
import { Coord, Vect } from "./coord"; export declare class Stroke { positions: Array<Coord>; color: string; width: number; top_left: Coord; bot_right: Coord; index: number; /** * Positions should be non empty, otherwise top_left and bot_right are erroneous. */ constructor(positions: Array<Coord>, color: string, width: number, index: number); getValue(param: string): any; translate(shift: Vect): void; rtranslate(shift: Vect): void; }