Merged PR 308: #8224/#7571 Margins cotation and Colors
Related work items: #8224
This commit is contained in:
parent
4e8f465405
commit
a7feebdcd1
18 changed files with 425 additions and 150 deletions
|
@ -1,13 +1,17 @@
|
|||
|
||||
import { IDimensionOptions } from './IDimensionOptions';
|
||||
import { Orientation } from '../Enums/Orientation';
|
||||
import { Position } from '../Enums/Position';
|
||||
|
||||
export interface IDimensions {
|
||||
// TODO: Refactor showSelf., showChildren., markPosition, showDimensionWithMarks in IDimensionOptions interface
|
||||
|
||||
/** if true, show the dimension of the container */
|
||||
showSelfDimensions: Position[]
|
||||
selfDimensions: IDimensionOptions
|
||||
|
||||
/** if true, show the dimension of the container */
|
||||
selfMarginsDimensions: IDimensionOptions
|
||||
|
||||
/** if true show the overall dimensions of its children */
|
||||
showChildrenDimensions: Position[]
|
||||
childrenDimensions: IDimensionOptions
|
||||
|
||||
/**
|
||||
* if true, allows a parent dimension borrower to borrow its x coordinate
|
||||
|
@ -19,5 +23,6 @@ export interface IDimensions {
|
|||
* if true, show a dimension from the edge of the container to end
|
||||
* and insert dimensions marks at lift up children (see liftDimensionToBorrower)
|
||||
*/
|
||||
showDimensionWithMarks: Position[]
|
||||
dimensionWithMarks: IDimensionOptions
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue