@zeplin/sdk
Version:
Zeplin API client for JavaScript
47 lines (46 loc) • 1.04 kB
TypeScript
/**
* Zeplin API
* Access your resources in Zeplin
*
* Contact: support@zeplin.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { BlendModeEnum } from './blend-mode-enum';
import { ColorData } from './color-data';
import { Gradient } from './gradient';
export declare const transformLayerFillToJSON: (value: LayerFill) => any;
export declare const transformJSONToLayerFill: (value: any) => LayerFill;
/**
*
* @export
* @interface LayerFill
*/
export interface LayerFill {
/**
* Type of the fill
* @type {string}
* @memberof LayerFill
*/
type: 'color' | 'gradient';
/**
*
* @type {ColorData}
* @memberof LayerFill
*/
color?: ColorData;
/**
*
* @type {Gradient}
* @memberof LayerFill
*/
gradient?: Gradient;
/**
*
* @type {BlendModeEnum}
* @memberof LayerFill
*/
blendMode?: BlendModeEnum;
}