Skip to content

Commit ab2c2a6

Browse files
committed
Add MathUtil with toRadians method
DEVSIX-1310
1 parent 19853b8 commit ab2c2a6

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
6+
namespace iText.IO.Util
7+
{
8+
public static class MathUtil
9+
{
10+
public static double ToRadians(double angdeg)
11+
{
12+
return angdeg / 180.0 * Math.PI;
13+
}
14+
}
15+
}

0 commit comments

Comments
 (0)