Class FixedBaseWidthScaler

    • Constructor Detail

      • FixedBaseWidthScaler

        public FixedBaseWidthScaler​(float width)
        Creates a new scaler that will scale bases to the specified width without attempting to center their peaks.
        Parameters:
        width - the desired call width in pixels
      • FixedBaseWidthScaler

        public FixedBaseWidthScaler​(float width,
                                    boolean centerPeaks)
        Creates a new scaler that will scale bases to the specified width and may or may not bias the peaks to the center.
        Parameters:
        width - the desired call width in pixels
        centerPeaks - if true, the scaler will try to put the peak of in the center of the scaled call. Otherwise, the whole call will be scaled using the same factor.