interface RulerProductConfig {
    unitLabel: string;
    worldUnitsPerUnit: number;
}

Properties

unitLabel: string

Label displayed in the ruler (e.g. 'cm', 'mm', 'in').

worldUnitsPerUnit: number

How many Fabric/world units represent 1 product unit.