org.apache.commons.imaging.palette

## Class LongestAxisMedianCut

- java.lang.Object
- - org.apache.commons.imaging.palette.LongestAxisMedianCut

- All Implemented Interfaces:
    MedianCut

      public class LongestAxisMedianCut
      extends Object
      implements MedianCut

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LongestAxisMedianCut()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `performNextMedianCut(List<org.apache.commons.imaging.palette.ColorGroup> colorGroups, boolean ignoreAlpha)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LongestAxisMedianCut

          public LongestAxisMedianCut()

  - ### Method Detail

    - #### performNextMedianCut

          public boolean performNextMedianCut(List<org.apache.commons.imaging.palette.ColorGroup> colorGroups,
                                              boolean ignoreAlpha)
                                       throws ImageWriteException

      Specified by:
        `performNextMedianCut` in interface `MedianCut`
      Throws:
        `ImageWriteException`

Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.