paperjs-offset
Version:
An offset function for paperjs path.
16 lines (15 loc) • 568 B
TypeScript
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;