setRotation method
Use this method to set the rotation to apply to the checkpoint images before matching.
Typically, this is used to switch between portrait and landscope modes (90 degrees).
Syntax
eyes.setRotation(rotation_lit);
eyes.setRotation(rotation_obj);
Parameters
- rotation_lit
- Type:ImageRotationPlain
The number of degrees to rotate.
A literal object that defines the amount to rotate.
Type definitions
- ImageRotationPlain
- The legal values that an image may be rotated by. This may have the following values: -270|-180|-90|0|90|180|270
- rotation_obj
- Type:ImageRotation
The number of degrees to rotate.
A class object that defines the amount to rotate.
Return value
- Type: void