@aurigma/design-atoms
Version:
Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.
19 lines (18 loc) • 900 B
TypeScript
import { Item } from "@aurigma/design-atoms-model/Product/Items";
import { IViewerMessagesConfig, IViolationServiceConfiguration } from "../../../Viewer/Interfaces";
import { ProductHandler } from "../../ProductHandler";
import { IViolationInfo, Violation } from "./Violation";
import { ModuleOfTextWhizz } from "../../../Viewer";
export declare class BleedViolation extends Violation {
private _productHandler;
private _messages;
private _conf;
private _textWhizz;
static statePropertyName: string;
constructor(_productHandler: ProductHandler, _messages: IViewerMessagesConfig, _conf: IViolationServiceConfiguration, _textWhizz: ModuleOfTextWhizz);
getStatePropertyName(): string;
isAvailableFor(item: Item): boolean;
getViolationInfo(item: Item): IViolationInfo;
private _checkRectanglePrintArea;
private _checkNotRectanglePrintArea;
}