UNPKG

paperjs-offset

Version:
16 lines (15 loc) 568 B
import { StrokeJoinType, PathType, StrokeCapType } from './offset_core'; export interface OffsetOptions { join?: StrokeJoinType; cap?: StrokeCapType; limit?: number; insert?: boolean; } export declare class PaperOffset { static offset(path: PathType, offset: number, options?: OffsetOptions): PathType; static offsetStroke(path: PathType, offset: number, options?: OffsetOptions): PathType; } /** * @deprecated EXTEND existing paper module is not recommend anymore */ export default function ExtendPaperJs(paperNs: any): void;