UNPKG

skia-path2d

Version:

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

5 lines (4 loc) 167 B
import { Point } from './point'; import { Ref } from './util'; declare function ChopMonoAtY(pts: Point[], y: number, t: Ref<number>): boolean; export { ChopMonoAtY };