-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathweb-parser.service.d.ts
28 lines (28 loc) · 1.26 KB
/
web-parser.service.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/// <reference types="sketchapp" />
import { CssCodeGenService } from '@xlayers/css-codegen';
import { FormatService, ImageService, LayerService, SymbolService } from '@xlayers/sketch-lib';
import { TextService } from '@xlayers/sketch-lib';
import { SvgCodeGenService } from '@xlayers/svg-codegen';
import { WebCodeGenOptions } from './web-codegen.d';
import { WebContextService } from './web-context.service';
export declare class WebParserService {
private readonly textService;
private readonly formatService;
private readonly symbolService;
private readonly imageService;
private readonly layerService;
private readonly cssCodeGen;
private readonly svgCodeGen;
private readonly webContext;
constructor(textService: TextService, formatService: FormatService, symbolService: SymbolService, imageService: ImageService, layerService: LayerService, cssCodeGen: CssCodeGenService, svgCodeGen: SvgCodeGenService, webContext: WebContextService);
compute(current: SketchMSLayer, data: SketchMSData, options: WebCodeGenOptions): void;
private walk;
private visit;
private visitContent;
private visitLayer;
private visitSymbol;
private visitBitmap;
private visitText;
private visitShape;
private generateClassAttribute;
}