Field Notes
    Preparing search index...

    Function resolveSegmentColors

    • Colour per segment from cumulative feet at each point: the first band (ascending feet) that still covers the segment's END total wins; beyond every band the base colour is used. Shared by the local tool and the remote overlay so a sender's bands render identically everywhere.

      Parameters

      • cumulativeFeet: readonly number[]
      • bands: readonly { color: string; feet: number }[]
      • color: string

      Returns string[]