UNPKG

@aurigma/design-atoms-model

Version:

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

43 lines (42 loc) 1.57 kB
import { EventObject } from "../../EventObject"; export interface IResizeGripsPermissions { edge: boolean; corner: string[]; } export declare type ArbitraryCorner = "Arbitrary"; export declare type ProportionalCorner = "Proportional"; export declare type ResizeGripsCorner = ArbitraryCorner | ProportionalCorner; export declare class ResizeGripsPermissions implements IResizeGripsPermissions { static arbitrary: ArbitraryCorner; static proportional: ProportionalCorner; private _edge; private _edgeConstraint; set edgeConstraint(value: boolean); get edge(): boolean; set edge(value: boolean); private _corner; get corner(): ResizeGripsCorner[]; set corner(value: ResizeGripsCorner[]); constructor(proportional: boolean, arbitrary: boolean, arbitraryFirst?: boolean); private _setCornerValues; getCornerProportional(): boolean; getCornerArbitrary(): boolean; setCornerProportional(value: boolean): void; setCornerArbitrary(value: boolean): void; private _cornerArbitraryConstraint; setCornerArbitraryConstraint(value: boolean): void; propertyChanged: EventObject<unknown>; clone(): ResizeGripsPermissions; equals(p: ResizeGripsPermissions): boolean; get data(): { Edge: boolean; Corner: ResizeGripsCorner[]; }; static _fromData(data?: { Corner: ResizeGripsCorner[]; Edge: boolean; }): ResizeGripsPermissions; getSimplifiedObject(): Object; static type: string; type: string; }