@zeplin/sdk
Version:
Zeplin API client for JavaScript
51 lines (50 loc) • 1.11 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 { ColorStop } from './color-stop';
export declare const transformGradientToJSON: (value: Gradient) => any;
export declare const transformJSONToGradient: (value: any) => Gradient;
/**
*
* @export
* @interface Gradient
*/
export interface Gradient {
/**
* Type of the gradient
* @type {string}
* @memberof Gradient
*/
type?: 'linear' | 'radial' | 'angular';
/**
* Angle of the gradient
* @type {number}
* @memberof Gradient
*/
angle?: number;
/**
* Scale of the gradient
* @type {number}
* @memberof Gradient
*/
scale?: number;
/**
*
* @type {Array<ColorStop>}
* @memberof Gradient
*/
colorStops?: Array<ColorStop>;
/**
* Opacity of the gradient
* @type {number}
* @memberof Gradient
*/
opacity?: number;
}