toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case NoiseReducerFilter.bilateral:
      return 'BILATERAL';
    case NoiseReducerFilter.mean:
      return 'MEAN';
    case NoiseReducerFilter.gaussian:
      return 'GAUSSIAN';
    case NoiseReducerFilter.lanczos:
      return 'LANCZOS';
    case NoiseReducerFilter.sharpen:
      return 'SHARPEN';
    case NoiseReducerFilter.conserve:
      return 'CONSERVE';
    case NoiseReducerFilter.spatial:
      return 'SPATIAL';
    case NoiseReducerFilter.temporal:
      return 'TEMPORAL';
  }
}