Class FractionBasedHighlightPainter

    • Constructor Detail

      • FractionBasedHighlightPainter

        public FractionBasedHighlightPainter​(String displayName,
                                             float[] fractions,
                                             ColorSchemeSingleColorQuery[] colorQueries)
        Creates a new fraction-based highlight painter.
        Parameters:
        displayName - The display name of this painter.
        fractions - The fractions of this painter. Must be strictly increasing, starting from 0.0 and ending at 1.0.
        colorQueries - The color queries of this painter. Must have the same size as the fractions array, and all entries must be non- null.