Strata - v1.4.10
    Preparing search index...

    Interface CrosshairPreset

    interface CrosshairPreset {
        color?: string;
        description: string;
        dot?: boolean;
        dotSize?: number;
        dynamic?: boolean;
        gap?: number;
        name: CrosshairPresetName;
        opacity?: number;
        outlineColor?: string;
        outlineWidth?: number;
        size?: number;
        spreadMultiplier?: number;
        thickness?: number;
        type?: "custom" | "dot" | "cross" | "circle";
    }

    Hierarchy

    Index

    Properties

    color?: string

    CSS-compatible color string.

    description: string
    dot?: boolean

    Whether to show a center dot.

    dotSize?: number

    Size of the center dot in pixels.

    dynamic?: boolean

    Whether the crosshair expands with weapon spread.

    gap?: number

    Gap between crosshair segments in pixels.

    opacity?: number

    Global opacity (0-1).

    outlineColor?: string

    Color for the reticle outline.

    outlineWidth?: number

    Width of the outline in pixels.

    size?: number

    Base size in pixels.

    spreadMultiplier?: number

    Sensitivity of the dynamic expansion.

    thickness?: number

    Thickness of the lines in pixels.

    type?: "custom" | "dot" | "cross" | "circle"

    Visual style of the reticle.