Implement borrower dimension
This commit is contained in:
parent
57e6c9a156
commit
5fa9db931f
7 changed files with 117 additions and 14 deletions
|
@ -57,6 +57,24 @@ export interface IContainerProperties {
|
|||
/** Horizontal alignment, also determines the visual location of x {Left = 0, Center, Right } */
|
||||
xPositionReference: XPositionReference
|
||||
|
||||
/** 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 borrow its x coordinate
|
||||
* 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
|
||||
|
||||
/**
|
||||
* (optional)
|
||||
* Replace a <rect> by a customized "SVG". It is not really an svg but it at least allows
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue