28 lines
812 B
TypeScript
28 lines
812 B
TypeScript
|
|
import { type Orientation } from '../Enums/Orientation';
|
|
import { type IDimensionOptions } from './IDimensionOptions';
|
|
|
|
export interface IDimensions {
|
|
|
|
/** if true, show the dimension of the container */
|
|
selfDimensions: IDimensionOptions
|
|
|
|
/** if true, show the dimension of the container */
|
|
selfMarginsDimensions: IDimensionOptions
|
|
|
|
/** if true show the overall dimensions of its children */
|
|
childrenDimensions: IDimensionOptions
|
|
|
|
/**
|
|
* 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)
|
|
*/
|
|
dimensionWithMarks: IDimensionOptions
|
|
|
|
}
|