UNPKG

sketch-json-parse

Version:

sketch-json解析

10 lines (9 loc) 425 B
import { SKLayer, SKFillItem, Background } from '../../../types'; /** * fillStyle.patternFillType == 0 Mask_Tile repeat 平铺 * fillStyle.patternFillType == 1 Mask_Fill cover 填充 * fillStyle.patternFillType == 2 Mask_Stretch 100% 100% 拉伸 * fillStyle.patternFillType == 3 Mask_Fit contain 包含 */ declare const _default: (fillStyle: SKFillItem, layer: SKLayer) => Background; export default _default;