@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.
17 lines (16 loc) • 556 B
TypeScript
export type ArtworkShapeType = "rectangle" | "ellipse";
export declare class MaxArtworkSizeConstraints {
width: number | null;
height: number | null;
shapeType: ArtworkShapeType | null;
get isCircle(): boolean;
get isEllipse(): boolean;
get isRectangle(): boolean;
protected _copy(source: MaxArtworkSizeConstraints, destination: MaxArtworkSizeConstraints): void;
clone(): MaxArtworkSizeConstraints;
toJSON(): {
width: number;
height: number;
shapeType: ArtworkShapeType;
};
}