ImageEn, unit hyieutils

ImageEnRotateAngleToAngle


Declaration

function AngleToImageEnRotateAngle(Angle: Double): Double;


Description

ImageEn's rotation parameter requires a value specified negative or positive degrees counter-clockwise. This method converts an ImageEn rotation value to a value between -180 and +180.

See also: AngleToImageEnRotateAngle


Example

ImageEnView1.Proc.Rotate( 90 );
ShowMessage( Format( 'Rotated by %d degrees', [ ImageEnRotateAngleToAngle( 90 )]);