public final enum

PixelType

extends Enum<PixelType>
java.lang.Object
   ↳ java.lang.Enum<com.esri.core.map.PixelType>
     ↳ com.esri.core.map.PixelType

Class Overview

The pixel type, also known as data type, pertains to the type of values stored in the raster, such as signed integer, unsigned integer, or floating point. Integers are whole numbers, whereas floating points have decimals.

Values: C128 | C64 | F32 | F64 | S16 | S32 | S8 | U1 | U16 | U2 | U32 | U4 | U8 | UNKNOWN

Summary

Enum Values
PixelType  C128  Pixel type: C128  
PixelType  C64  Pixel type: C64  
PixelType  F32  Pixel type: F32  
PixelType  F64  Pixel type: F64  
PixelType  S16  Pixel type: S16  
PixelType  S32  Pixel type: S32  
PixelType  S8  Pixel type: S8  
PixelType  U1  Pixel type: U1  
PixelType  U16  Pixel type: U16  
PixelType  U2  Pixel type: U2  
PixelType  U32  Pixel type: U32  
PixelType  U4  Pixel type: U4  
PixelType  U8  Pixel type: U8  
PixelType  UNKNOWN  Pixel type: UNKNOWN  
Public Methods
static PixelType fromString(String str)
Returns the resampling process whose name matches the input; null if there is no match.
static PixelType fromValue(int value)
Gets the PixelType corresponding to the int value
int toInt()
Gets the int value corresponding to this pixel type
String toString()
static PixelType valueOf(String name)
static final PixelType[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final PixelType C128

Pixel type: C128

public static final PixelType C64

Pixel type: C64

public static final PixelType F32

Pixel type: F32

public static final PixelType F64

Pixel type: F64

public static final PixelType S16

Pixel type: S16

public static final PixelType S32

Pixel type: S32

public static final PixelType S8

Pixel type: S8

public static final PixelType U1

Pixel type: U1

public static final PixelType U16

Pixel type: U16

public static final PixelType U2

Pixel type: U2

public static final PixelType U32

Pixel type: U32

public static final PixelType U4

Pixel type: U4

public static final PixelType U8

Pixel type: U8

public static final PixelType UNKNOWN

Pixel type: UNKNOWN

Public Methods

public static PixelType fromString (String str)

Returns the resampling process whose name matches the input; null if there is no match.

Parameters
str String: input string to match the resampling process.
Returns
PixelType corresponding resampling process, null if none; match is case-sensitive.

public static PixelType fromValue (int value)

Gets the PixelType corresponding to the int value

Parameters
value int: the int value of the pixel type
Returns
PixelType the PixelType corresponding to that value

public int toInt ()

Gets the int value corresponding to this pixel type

Returns
int the int value of this pixel type

public String toString ()

Returns
String

public static PixelType valueOf (String name)

Parameters
name String
Returns
PixelType

public static final PixelType[] values ()

Returns
PixelType[]