@zeplin/sdk
Version:
Zeplin API client for JavaScript
81 lines (80 loc) • 1.98 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 { ColorData } from './color-data';
export declare const transformTextStyleDataToJSON: (value: TextStyleData) => any;
export declare const transformJSONToTextStyleData: (value: any) => TextStyleData;
/**
*
* @export
* @interface TextStyleData
*/
export interface TextStyleData {
/**
* PostScript name of the text style, e.g. Roboto-Regular
* @type {string}
* @memberof TextStyleData
*/
postscriptName: string;
/**
* Font family of the text style, e.g. Roboto, Arial
* @type {string}
* @memberof TextStyleData
*/
fontFamily: string;
/**
* Font size of the text style
* @type {number}
* @memberof TextStyleData
*/
fontSize: number;
/**
* Font weight of the text style, e.g. 500, 700
* @type {number}
* @memberof TextStyleData
*/
fontWeight: number;
/**
* Font style of the text style, e.g. italic, oblique
* @type {string}
* @memberof TextStyleData
*/
fontStyle: string;
/**
* Font stretch form of the text style, e.g. 0.75, 1.00
* @type {number}
* @memberof TextStyleData
*/
fontStretch: number;
/**
* Minimum height of a line for the text style
* @type {number}
* @memberof TextStyleData
*/
lineHeight?: number;
/**
* Spacing between letters
* @type {number}
* @memberof TextStyleData
*/
letterSpacing?: number;
/**
* Horizontal alignment of the text style, left, right, center, or justify
* @type {string}
* @memberof TextStyleData
*/
textAlign?: string;
/**
*
* @type {ColorData}
* @memberof TextStyleData
*/
color?: ColorData;
}