sketch-json-parse
Version:
sketch-json解析
42 lines (41 loc) • 1.13 kB
TypeScript
import { SKBorders } from './SKBorders';
import { SKContextSettings } from './SKContextSettings';
import { SKFills } from './SKFills';
import { SKBlur } from './SKBlur';
import { SKShadows } from './SKShadows';
import { SKTextStyle } from './SKTextStyle';
export type SKStyle = {
_class: 'style';
do_objectID?: string;
endMarkerType?: number;
miterLimit?: number;
startMarkerType?: number;
windingRule?: number;
blur?: SKBlur;
borderOptions?: {
_class: string;
isEnabled: boolean;
dashPattern: [];
lineCapStyle: number;
lineJoinStyle: number;
};
borders?: SKBorders;
colorControls?: {
_class: string;
isEnabled: boolean;
brightness: number;
contrast: number;
hue: number;
saturation: number;
};
contextSettings?: SKContextSettings;
fills?: SKFills;
innerShadows?: SKShadows;
shadows?: SKShadows;
textStyle?: SKTextStyle;
};
export * from './SKBorders';
export * from './SKContextSettings';
export * from './SKFills';
export * from './SKBlur';
export * from './SKShadows';