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[] /** if true show the overall dimensions of its children */ showChildrenDimensions: Position[] /** * if true, allows a parent dimension borrower to borrow its x coordinate * as a reference point for a dimension */ markPosition: Orientation[] /** * 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[] }