UNPKG

@aurigma/design-atoms

Version:

Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.

17 lines (16 loc) 703 B
import { RotatedRectangleF } from "@aurigma/design-atoms-model"; import { IResizeData } from "./../../ISelectionProcessModifier"; import { ISection } from "./Section"; export interface IAxisResizeData { readonly start: ISection; readonly target: ISection; } export declare class AxisResizeData implements IAxisResizeData { private readonly _start; private readonly _target; constructor(start: ISection, target: ISection); get start(): ISection; get target(): ISection; static fromAxisX(resizeData: IResizeData, selection: RotatedRectangleF): IAxisResizeData; static fromAxisY(resizeData: IResizeData, selection: RotatedRectangleF): IAxisResizeData; }