IFClite TypeScript API
    Preparing search index...

    Interface GraphicStyle

    Complete graphic style that can be applied to elements

    interface GraphicStyle {
        backgroundColor?: string;
        drawOrder?: number;
        fillColor?: string;
        hatchAngle?: number;
        hatchColor?: string;
        hatchLineWeight?: number;
        hatchPattern?: HatchPatternType;
        hatchSecondaryAngle?: number;
        hatchSpacing?: number;
        lineCap?: "butt" | "round" | "square";
        lineJoin?: "round" | "miter" | "bevel";
        lineStyle?: DashPattern | LineStylePreset;
        lineWeight?: number | LineWeightPreset;
        opacity?: number;
        strokeColor?: string;
        visible?: boolean;
    }
    Index
    backgroundColor?: string

    Background color for patterns

    drawOrder?: number

    Z-order for overlapping elements (higher = on top)

    fillColor?: string

    Fill color for cut polygons (hex with optional alpha: #RRGGBB or #RRGGBBAA)

    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

    Line style (dash pattern)

    lineWeight?: number | LineWeightPreset

    Line weight (preset name or custom mm value)

    opacity?: number

    Opacity (0-1)

    strokeColor?: string

    Stroke/line color (hex)

    visible?: boolean

    Whether element is visible