@xenosite/xpict
    Preparing search index...

    Type Alias TypedOptsPatch

    TypedOptsPatch:
        | {
            aromatic?: AromaticStyle;
            color?: string;
            debug_align?: boolean;
            debug_box?: boolean;
            halo?: boolean;
            pad?: number;
            scale?: number;
            shade?: ShadeStyle;
            type: "mol";
            weight?: number;
        }
        | {
            aromatic?: AromaticStyle;
            color?: string;
            debug_align?: boolean;
            debug_box?: boolean;
            pad?: number;
            scale?: number;
            type: "group";
        }
        | {
            aromatic?: AromaticStyle;
            color?: string;
            debug_align?: boolean;
            debug_box?: boolean;
            pad?: number;
            scale?: number;
            type: "reaction_scheme";
        }
        | {
            aromatic?: AromaticStyle;
            color?: string;
            debug_align?: boolean;
            debug_box?: boolean;
            pad?: number;
            scale?: number;
            type: "edge";
        }
        | {
            aromatic?: AromaticStyle;
            color?: string;
            debug_align?: boolean;
            debug_box?: boolean;
            pad?: number;
            scale?: number;
            type: "text";
        }

    Discriminated opts patch: { "type": "mol"|"group"|"reaction_scheme"|"edge"|"text", …opts }.

    Type Declaration

    • {
          aromatic?: AromaticStyle;
          color?: string;
          debug_align?: boolean;
          debug_box?: boolean;
          halo?: boolean;
          pad?: number;
          scale?: number;
          shade?: ShadeStyle;
          type: "mol";
          weight?: number;
      }
      • Optionalaromatic?: AromaticStyle

        Aromatic ring paint: circle (default) or kekule.

      • Optionalcolor?: string
      • Optionaldebug_align?: boolean

        Paint alignment correspondence (matched atom tags + mol role badge).

      • Optionaldebug_box?: boolean

        Paint dashed debug rectangles for layout boxes (labels / mol / scene).

      • Optionalhalo?: boolean
      • Optionalpad?: number

        Post-layout SVG viewBox pad (px). Omit → small house default (rarely override).

      • Optionalscale?: number
      • Optionalshade?: ShadeStyle
      • type: "mol"
      • Optionalweight?: number
    • {
          aromatic?: AromaticStyle;
          color?: string;
          debug_align?: boolean;
          debug_box?: boolean;
          pad?: number;
          scale?: number;
          type: "group";
      }
      • Optionalaromatic?: AromaticStyle

        Aromatic ring paint: circle (default) or kekule.

      • Optionalcolor?: string
      • Optionaldebug_align?: boolean

        Paint alignment correspondence (matched atom tags + mol role badge).

      • Optionaldebug_box?: boolean

        Paint dashed debug rectangles for layout boxes (labels / mol / scene).

      • Optionalpad?: number

        Post-layout SVG viewBox pad (px). Omit → small house default (rarely override).

      • Optionalscale?: number
      • type: "group"
    • {
          aromatic?: AromaticStyle;
          color?: string;
          debug_align?: boolean;
          debug_box?: boolean;
          pad?: number;
          scale?: number;
          type: "reaction_scheme";
      }
      • Optionalaromatic?: AromaticStyle

        Aromatic ring paint: circle (default) or kekule.

      • Optionalcolor?: string
      • Optionaldebug_align?: boolean

        Paint alignment correspondence (matched atom tags + mol role badge).

      • Optionaldebug_box?: boolean

        Paint dashed debug rectangles for layout boxes (labels / mol / scene).

      • Optionalpad?: number

        Post-layout SVG viewBox pad (px). Omit → small house default (rarely override).

      • Optionalscale?: number
      • type: "reaction_scheme"
    • {
          aromatic?: AromaticStyle;
          color?: string;
          debug_align?: boolean;
          debug_box?: boolean;
          pad?: number;
          scale?: number;
          type: "edge";
      }
      • Optionalaromatic?: AromaticStyle

        Aromatic ring paint: circle (default) or kekule.

      • Optionalcolor?: string
      • Optionaldebug_align?: boolean

        Paint alignment correspondence (matched atom tags + mol role badge).

      • Optionaldebug_box?: boolean

        Paint dashed debug rectangles for layout boxes (labels / mol / scene).

      • Optionalpad?: number

        Post-layout SVG viewBox pad (px). Omit → small house default (rarely override).

      • Optionalscale?: number
      • type: "edge"
    • {
          aromatic?: AromaticStyle;
          color?: string;
          debug_align?: boolean;
          debug_box?: boolean;
          pad?: number;
          scale?: number;
          type: "text";
      }
      • Optionalaromatic?: AromaticStyle

        Aromatic ring paint: circle (default) or kekule.

      • Optionalcolor?: string
      • Optionaldebug_align?: boolean

        Paint alignment correspondence (matched atom tags + mol role badge).

      • Optionaldebug_box?: boolean

        Paint dashed debug rectangles for layout boxes (labels / mol / scene).

      • Optionalpad?: number

        Post-layout SVG viewBox pad (px). Omit → small house default (rarely override).

      • Optionalscale?: number
      • type: "text"