# value property

int value

Gets the enumeration value as int. return The value.

## Implementation

    int get value {
        	switch (this) {
          	case PixelFormat.undefined:
            	return 0;
          	case PixelFormat.grayscale8Bits:
            	return 10;
          	case PixelFormat.grayscale16Bits:
            	return 20;
          	case PixelFormat.grayscaleFloat:
            	return 25;
          	case PixelFormat.bgr24Bits:
            	return 30;
          	case PixelFormat.rgb24Bits:
            	return 31;
          	case PixelFormat.bgra:
            	return 32;
          	case PixelFormat.rgba:
            	return 33;
          	case PixelFormat.nv12:
            	return 40;
          	case PixelFormat.i420:
            	return 41;
          	case PixelFormat.yuy2:
            	return 42;
          	case PixelFormat.yv12:
            	return 43;
    	}
      	}