UNPKG

@mescius/dsimageviewer

Version:

Document Solutions Image Viewer

45 lines (44 loc) 970 B
/** * A point representing a location in (x, y) coordinate space. * @ignore exclude from docs **/ export interface IGcPoint { /** * X position. **/ x: number; /** * Y position. **/ y: number; } /** * @ignore exclude from docs * Size of the rectangle. **/ export interface IGcSize { /** * Width. **/ w: number; /** * Height. **/ h: number; } /** * Data structure with top-left coordinates (x, y) and width-height (w, h) of the rectangle. **/ export interface IGcRect extends IGcPoint, IGcSize { } /** * A point representing a position in page coordinate space (x, y), * contains information about the index of the target page (pageIndex). * @ignore exclude from docs **/ export declare class GcSelectionPoint implements IGcPoint { constructor(x: number, y: number, pageIndex: number); x: number; y: number; pageIndex: number; }