# Uses of Class
org.apache.sis.coverage.Category

Packages that use Category
Package
Description
org.apache.sis.coverage
Functions that associates positions within a bounded space (its domain) to values (its range).
org.apache.sis.image
Provides helper classes for handling Java2D rendered images together with some operations.

- ## Uses of Category in org.apache.sis.coverage

  Methods in org.apache.sis.coverage that return Category
  Modifier and Type
  Method
  Description
  `Category`
  Category.`forConvertedValues(boolean converted)`
  Returns a category that describes measurement values or packed values, depending if `converted` is `true` or `false` respectively.
  Methods in org.apache.sis.coverage that return types with arguments of type Category
  Modifier and Type
  Method
  Description
  `List<Category>`
  SampleDimension.Builder.`categories()`
  Returns the list of categories added so far.
  `List<Category>`
  SampleDimension.`getCategories()`
  Returns all categories in this sample dimension.
  Constructors in org.apache.sis.coverage with parameters of type Category
  Modifier
  Constructor
  Description
  `protected`
  `Category(Category copy)`
  Creates a copy of the given category.
  Constructor parameters in org.apache.sis.coverage with type arguments of type Category
  Modifier
  Constructor
  Description
  ``
  `SampleDimension(GenericName name, Number background, Collection<? extends Category> categories)`
  Creates a sample dimension with the specified name and categories.

- ## Uses of Category in org.apache.sis.image

  Methods in org.apache.sis.image that return types with arguments of type Category
  Modifier and Type
  Method
  Description
  `Function<Category,Color[]>`
  ImageProcessor.`getCategoryColors()`
  Returns the colors to use for given categories of sample values, or `null` is unspecified.
  Method parameters in org.apache.sis.image with type arguments of type Category
  Modifier and Type
  Method
  Description
  `void`
  ImageProcessor.`setCategoryColors(Function<Category,Color[]> colors)`
  Sets the colors to use for given categories in image, or `null` is unspecified.