Implement borrower dimension

This commit is contained in:
Eric NGUYEN 2022-08-30 17:36:48 +02:00
parent 57e6c9a156
commit 5fa9db931f
7 changed files with 117 additions and 14 deletions

View file

@ -20,6 +20,22 @@ export interface IAvailableContainer {
XPositionReference?: XPositionReference
CustomSVG?: string
DefaultChildType?: string
/** if true, show the dimension of the container */
ShowSelfDimensions?: boolean
/** if true show the overall dimensions of its children */
ShowChildrenDimensions?: boolean
/**
* if true, allows a parent dimension borrower to uses its x coordinate for as a reference point for a dimension
*/
MarkPositionToDimensionBorrower?: boolean
/**
* if true, show a dimension from the edge of the container to end
* and insert dimensions marks at lift up children (see liftDimensionToBorrower)
*/
IsDimensionBorrower?: boolean
Style?: React.CSSProperties
Actions?: IAction[]
UserData?: object