Class SampleScheme

Object
SampleScheme

public class SampleScheme extends Object
Number of samples that can be represented.
Author:
James Macgill
  • Constructor Details

    • SampleScheme

      public SampleScheme()
      Creates a new instance of SampleScheme
  • Method Details

    • getSampleScheme

      public int[] getSampleScheme(int length)
      Indexed getter for property sampleScheme.
      Parameters:
      length - Index of the property.
      Returns:
      Value of the property at index.
    • setSampleScheme

      public void setSampleScheme(int length, int[] sampleScheme)
      Indexed setter for property sampleScheme.
      Parameters:
      length - Index of the property.
      sampleScheme - New value of the property at index.
    • getMinCount

      public int getMinCount()
      Getter for the min colour count
      Returns:
      the smallest number of colours we have a scheme for
    • getMaxCount

      public int getMaxCount()
      Getter for the max colour count
      Returns:
      the largest number of colours we have a scheme for