UNPKG

737 BTypeScriptView Raw
1/**
2 * Get primary shape ID for a plane.
3 *
4 * @param element
5 *
6 * @return
7 */
8export function getShapeIdFromPlane(element: Element | ModdleElement): string;
9
10/**
11 * Get plane ID for a primary shape.
12 *
13 * @param element
14 *
15 * @return
16 */
17export function getPlaneIdFromShape(element: Element | ModdleElement): string;
18
19/**
20 * Get plane ID for primary shape ID.
21 *
22 * @param id
23 *
24 * @return
25 */
26export function toPlaneId(id: string): string;
27
28/**
29 * Check wether element is plane.
30 *
31 * @param element
32 *
33 * @return
34 */
35export function isPlane(element: Element | ModdleElement): boolean;
36
37export const planeSuffix: string;
38type Element = import('../model/Types').Element;
39type ModdleElement = import('../model/Types').ModdleElement;