G-code Preview — API Reference
    Preparing search index...
    • Build a per-segment color accessor for ir under mode. Feedrate auto-range (or the explicit range) is resolved once here, so the returned function is O(1) per segment. The returned RGB is honest: unknown channel values yield the mode's fallback.

      Parameters

      Returns SegmentColorer