Physical calibration attached to a view or one print/drawing area.

interface AsukaPhysicalSize {
    activeVariantId?: string;
    height: number;
    recommendedDpi?: number;
    unit: AsukaPhysicalUnit;
    variants?: Record<string, AsukaPhysicalSizeValue>;
    width: number;
}

Hierarchy (view full)

Properties

activeVariantId?: string

Variation used when the caller does not provide one explicitly.

height: number
recommendedDpi?: number

Optional quality threshold used for raster-image diagnostics.

variants?: Record<string, AsukaPhysicalSizeValue>

Optional size-specific calibrations, keyed by a business variation id such as S, M or L.

width: number