@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
23 lines (22 loc) • 744 B
TypeScript
import { Group } from 'three';
import { CoreBaseLoader } from './_Base';
import { BaseNodeType } from '../../engine/nodes/_Base';
interface CoreSVGLoaderOptions {
drawFillShapes: boolean;
fillShapesWireframe: boolean;
drawStrokes: boolean;
strokesWireframe: boolean;
tStyleOverride: boolean;
strokeWidth: number;
tadvanced: boolean;
isCCW: boolean;
}
export declare class CoreSVGLoader extends CoreBaseLoader<string> {
constructor(url: string, _node?: BaseNodeType);
load(options: CoreSVGLoaderOptions): Promise<Group>;
parse(text: string, options: CoreSVGLoaderOptions): Group<import("three").Object3DEventMap>;
private _onLoaded;
private _drawShapes;
private _drawStrokes;
}
export {};