Interface AsukaPhysicalLayerResizeInput

interface AsukaPhysicalLayerResizeInput {
    height?: number;
    minimumDpi?: number;
    physicalSize?: null | AsukaPhysicalSize;
    physicalSource?:
        | "model"
        | "view"
        | "print-area"
        | "explicit";
    preserveAspectRatio?: boolean;
    targetUnit?: AsukaPhysicalUnit;
    unit: AsukaPhysicalUnit;
    variationId?: null | string;
    width?: number;
}

Hierarchy (view full)

Properties

height?: number
minimumDpi?: number
physicalSize?: null | AsukaPhysicalSize

Fallback used when the object's print area has no physical calibration.

physicalSource?:
    | "model"
    | "view"
    | "print-area"
    | "explicit"
preserveAspectRatio?: boolean

Defaults to true, preserving the layer aspect ratio.

targetUnit?: AsukaPhysicalUnit
variationId?: null | string
width?: number