UNPKG

@nova-ui/charts

Version:

Nova Charts is a library created to provide potential consumers with solutions for various data visualizations that conform with the Nova Design Language. It's designed to solve common patterns identified by UX designers, but also be very flexible so that

32 lines (31 loc) 1.25 kB
import { IAllAround, IDimensionConfig } from "../types"; export declare class DimensionConfig implements IDimensionConfig { private _width; private _height; /** See {@link IDimensionConfig#margin} */ margin: IAllAround<number>; /** See {@link IDimensionConfig#padding} */ padding: IAllAround<number>; /** See {@link IDimensionConfig#marginLocked} */ marginLocked: IAllAround<boolean>; /** See {@link IDimensionConfig#autoWidth} */ autoWidth: boolean; /** See {@link IDimensionConfig#autoHeight} */ autoHeight: boolean; /** See {@link IDimensionConfig#width} */ width(): number; /** See {@link IDimensionConfig#width} */ width(value: number): IDimensionConfig; /** See {@link IDimensionConfig#height} */ height(): number; /** See {@link IDimensionConfig#height} */ height(value: number): IDimensionConfig; /** See {@link IDimensionConfig#outerWidth} */ outerWidth(): number; /** See {@link IDimensionConfig#outerWidth} */ outerWidth(value: number): IDimensionConfig; /** See {@link IDimensionConfig#outerHeight} */ outerHeight(): number; /** See {@link IDimensionConfig#outerHeight} */ outerHeight(value: number): IDimensionConfig; }