fabric
Version:
Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.
14 lines • 473 B
TypeScript
import type { StrictLayoutContext } from '../types';
import { LayoutStrategy } from './LayoutStrategy';
/**
* Layout will adjust the bounding box to fit target's objects.
*/
export declare class FitContentLayout extends LayoutStrategy {
static readonly type = "fit-content";
/**
* @override layout on all triggers
* Override at will
*/
shouldPerformLayout(context: StrictLayoutContext): boolean;
}
//# sourceMappingURL=FitContentLayout.d.ts.map