UNPKG

skia-path2d

Version:

Extract the core code related to Path2D, PathStrore, and isPointInPath from Skia and rewrite it with typescript

11 lines (10 loc) 323 B
import { PathBuilder } from './path_builder'; export declare class PathStrokeDash { data: number[]; offset: number; interval_len: number; first_len: number; first_index: number; constructor(data: number[], offset: number); dash(path: PathBuilder, res_scale?: number): PathBuilder | undefined; }