Class Orientation
Transforms normalized rectangles and faces according to image orientation.
public static class Orientation
- Inheritance
-
Orientation
- Inherited Members
Methods
Orientate(Face, OrientationMode)
Returns a face whose rectangle is transformed into the displayed orientation.
public static Face Orientate(Face face, OrientationMode mode)
Parameters
faceFacemodeOrientationMode
Returns
Orientate(Rectangle, OrientationMode)
Transforms a normalized rectangle into the displayed orientation.
public static Rectangle Orientate(Rectangle rectangle, OrientationMode mode)
Parameters
rectangleRectanglemodeOrientationMode
Returns
OrientateBack(Face, OrientationMode)
Returns a face whose rectangle is transformed back to stored coordinates.
public static Face OrientateBack(Face face, OrientationMode mode)
Parameters
faceFacemodeOrientationMode
Returns
OrientateBack(Rectangle, OrientationMode)
Transforms a normalized rectangle from the displayed orientation back to stored coordinates.
public static Rectangle OrientateBack(Rectangle rectangle, OrientationMode mode)
Parameters
rectangleRectanglemodeOrientationMode
Returns
Orientation2Degree(OrientationMode)
Gets the rotation angle represented by an orientation mode.
public static double Orientation2Degree(OrientationMode mode)
Parameters
modeOrientationMode
Returns
- double
The rotation in degrees.