IFClite TypeScript API
    Preparing search index...

    Interface ResolvedGraphicStyle

    Fully resolved style with all defaults filled in Note: lineWeight is resolved to a number (mm), not a preset name

    interface ResolvedGraphicStyle {
        backgroundColor: string;
        dashPattern: number[];
        drawOrder: number;
        fillColor: string;
        hatchAngle: number;
        hatchColor: string;
        hatchLineWeight: number;
        hatchPattern: HatchPatternType;
        hatchSecondaryAngle: number;
        hatchSpacing: number;
        lineCap: "butt" | "round" | "square";
        lineJoin: "round" | "miter" | "bevel";
        lineWeight: number;
        opacity: number;
        strokeColor: string;
        visible: boolean;
    }
    Index
    backgroundColor: string

    Background color for patterns

    dashPattern: number[]

    Resolved dash pattern as array [dash, gap, ...] in mm

    drawOrder: number

    Z-order for overlapping elements

    fillColor: string

    Fill color for cut polygons (hex)

    hatchAngle: number

    Hatch angle in degrees

    hatchColor: string

    Hatch line color

    hatchLineWeight: number

    Hatch line weight in mm

    hatchPattern: HatchPatternType

    Hatch pattern type

    hatchSecondaryAngle: number

    Secondary hatch angle for cross-hatch

    hatchSpacing: number

    Hatch line spacing in mm

    lineCap: "butt" | "round" | "square"

    Line cap style

    lineJoin: "round" | "miter" | "bevel"

    Line join style

    lineWeight: number

    Line weight in mm (resolved from preset or custom)

    opacity: number

    Opacity (0-1)

    strokeColor: string

    Stroke/line color (hex)

    visible: boolean

    Whether element is visible