Home | History | Annotate | Download | only in exif

Lines Matching defs:Orientation

370      * <li>TOP_LEFT is the normal orientation.</li>
380 public static interface Orientation {
1856 * Returns the Orientation ExifTag value for a given number of degrees.
1866 return Orientation.TOP_LEFT; // 0 degrees
1868 return Orientation.RIGHT_TOP; // 90 degrees cw
1870 return Orientation.BOTTOM_LEFT; // 180 degrees
1872 return Orientation.RIGHT_BOTTOM; // 270 degrees cw
1877 * Returns the rotation degrees corresponding to an ExifTag Orientation
1880 * @param orientation the ExifTag Orientation value.
1882 public static int getRotationForOrientationValue(short orientation) {
1883 switch (orientation) {
1884 case Orientation.TOP_LEFT:
1886 case Orientation.RIGHT_TOP:
1888 case Orientation.BOTTOM_LEFT:
1890 case Orientation.RIGHT_BOTTOM: