-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathweb-aggregator.service.d.ts
32 lines (32 loc) · 1.3 KB
/
web-aggregator.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
29
30
31
32
/// <reference types="sketchapp" />
import { FormatService, SymbolService, LayerService, ImageService, TextService } from '@xlayers/sketch-lib';
import { WebContextService } from './web-context.service';
import { WebCodeGenOptions } from './web-codegen';
import { CssCodeGenService } from '@xlayers/css-codegen';
import { SvgCodeGenService } from '@xlayers/svg-codegen';
export declare class WebAggregatorService {
private readonly textService;
private readonly symbolService;
private readonly imageService;
private readonly formatService;
private readonly layerService;
private readonly webContext;
private readonly cssCodeGen;
private readonly svgCodeGen;
constructor(textService: TextService, symbolService: SymbolService, imageService: ImageService, formatService: FormatService, layerService: LayerService, webContext: WebContextService, cssCodeGen: CssCodeGenService, svgCodeGen: SvgCodeGenService);
aggregate(current: SketchMSLayer, options: WebCodeGenOptions): {
kind: string;
value: string;
language: string;
uri: string;
}[];
private renderComponent;
private walk;
private visit;
private visitLayer;
private visitSymbol;
private visitBitmap;
private visitText;
private visitShape;
private renderAttributeTag;
}