UNPKG

trassel

Version:
19 lines (18 loc) 588 B
/** * Creates a matrix of all nodes. * @param {number=} centerX - Center X coordinate of the component * @param {number=} centerY - Center Y coordinate of the component */ export default class Matrix extends LayoutComponent { constructor(centerX?: null, centerY?: null); centerX: number | null; centerY: number | null; maxSize: number; numberOfRowsAndColumns: number; halfSize: number; multiplier: number; getWidth(node: any): any; getHeight(node: any): any; initialize(...args: any[]): void; } import LayoutComponent from "./layoutcomponent";