@zeplin/sdk
Version:
Zeplin API client for JavaScript
44 lines (43 loc) • 1.39 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.
*/
export declare const transformScreenNotePositionToJSON: (value: ScreenNotePosition) => any;
export declare const transformJSONToScreenNotePosition: (value: any) => ScreenNotePosition;
/**
* Position of the note with respect to top left corner. Values are normalized in [0, 1]
* @export
* @interface ScreenNotePosition
*/
export interface ScreenNotePosition {
/**
* The X-coordinate of the note\'s position. For area notes, this represents the X-coordinate of the end point.
* @type {number}
* @memberof ScreenNotePosition
*/
x: number;
/**
* The Y-coordinate of the note\'s position. For area notes, this represents the Y-coordinate of the end point.
* @type {number}
* @memberof ScreenNotePosition
*/
y: number;
/**
* The X-coordinate of the start point for area notes. Ignored for point notes.
* @type {number}
* @memberof ScreenNotePosition
*/
xStart?: number;
/**
* The Y-coordinate of the start point for area notes. Ignored for point notes.
* @type {number}
* @memberof ScreenNotePosition
*/
yStart?: number;
}