@awayjs/graphics
Version:
AwayJS graphics classes
18 lines • 711 B
TypeScript
import { GraphicsPath } from '../draw/GraphicsPath';
import { PathSegment } from './PathSegment';
export declare class SegmentedPath {
fillStyle: any;
lineStyle: any;
private _head;
constructor(fillStyle: any, lineStyle: any);
addSegment(segment1: PathSegment): void;
removeSegment(segment1: PathSegment): void;
insertSegment(segment1: PathSegment, next: PathSegment): void;
head(): PathSegment;
rgbaToArgb(float32Color: number): number;
getAlpha(float32Color: number): number;
rgbToArgb(float32Color: number): number;
private applyStyle;
serializeAJS(shape: GraphicsPath, morphShape: GraphicsPath): GraphicsPath;
}
//# sourceMappingURL=SegmentedPath.d.ts.map