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.

39 lines (38 loc) 2.54 kB
import { Item, RectangleItem, ImageItem, PlaceholderItem, BarcodeItem, BoundedTextItem, CurvedTextItem, PathBoundedTextItem, ShapeItem, LineItem, PolylineItem, PlainTextItem, DashedLineItem, AutoScaledTextItem, GridItem, EllipseItem, GroupItem, ClipartItem, ArchedTextItem, LayoutItem } from "../Product/Items"; /** Check that item is had RectangleItem type */ export declare const isRectangleItem: (i: Item) => i is RectangleItem; /** Check that item is had ImageItem type */ export declare const isImageItem: (i: Item) => i is ImageItem; /** Check that item is had PlaceholderItem type */ export declare const isPlaceholderItem: (i: Item) => i is PlaceholderItem; /** Check that item is had BarcodeItem type */ export declare const isBarcodeItem: (i: Item) => i is BarcodeItem; /** Check that item is had BoundedTextItem type */ export declare const isBoundedTextItem: (i: Item) => i is BoundedTextItem; /** Check that item is had CurvedTextItem type */ export declare const isCurvedTextItem: (i: Item) => i is CurvedTextItem; /** Check that item is had AutoScaledTextItem type */ export declare const isAutoScaledTextItem: (i: Item) => i is AutoScaledTextItem; /** Check that item is had PlainTextItem type */ export declare const isPlainTextItem: (i: Item) => i is PlainTextItem; /** Check that item is had PathBoundedTextItem type */ export declare const isPathBoundedTextItem: (i: Item) => i is PathBoundedTextItem; /** Check that item is had ArchedTextItem type */ export declare const isArchedTextItem: (i: Item) => i is ArchedTextItem; /** Check that item is had LineItem type */ export declare const isLineItem: (i: Item) => i is LineItem; /** Check that item is had DashedLineItem type */ export declare const isDashedLineItem: (i: Item) => i is DashedLineItem; /** Check that item is had PolylineItem type */ export declare const isPolylineItem: (i: Item) => i is PolylineItem; /** Check that item is had ShapeItem type */ export declare const isShapeItem: (i: Item) => i is ShapeItem; export declare const isGridItem: (i: Item) => i is GridItem; /** Check that item is had EllipseItem type */ export declare const isEllipseItem: (i: Item) => i is EllipseItem; /** Check that item is had GroupItem type */ export declare const isGroupItem: (i: Item) => i is GroupItem; /** Check that item is had ClipartItem type */ export declare const isClipartItem: (i: Item) => i is ClipartItem; /** Check that item is had LayoutItem type */ export declare const isLayoutItem: (i: Item) => i is LayoutItem;