1 | import { Coordinate } from '../../../dependents';
|
2 | import { Position, Shape, ShapeInfo } from '../../../interface';
|
3 | /**
|
4 | * @ignore
|
5 | * Gets shape attrs
|
6 | * @param cfg
|
7 | * @param isStroke
|
8 | * @param smooth
|
9 | * @param registeredShape
|
10 | * @param [constraint]
|
11 | * @returns
|
12 | */
|
13 | export declare function getShapeAttrs(cfg: ShapeInfo, isStroke: boolean, smooth: boolean, registeredShape: Shape, constraint?: Position[]): {
|
14 | [x: string]: any;
|
15 | };
|
16 | /**
|
17 | * @ignore
|
18 | * Gets constraint
|
19 | * @param coordinate
|
20 | * @returns constraint
|
21 | */
|
22 | export declare function getConstraint(coordinate: Coordinate): Position[];
|