예제 #1
0
파일: Ellipse.cs 프로젝트: zanker99/emgucv
 /// <summary>
 /// Create an ellipse from the specific RotatedRect
 /// </summary>
 /// <param name="box2d">The RotatedRect representation of this ellipse</param>
 public Ellipse(RotatedRect box2d)
 {
     _box2D = box2d;
 }
예제 #2
0
파일: Ellipse.cs 프로젝트: zanker99/emgucv
 /// <summary>
 /// Create an ellipse with specific parameters
 /// </summary>
 /// <param name="center"> The center of the ellipse</param>
 /// <param name="size"> The width and height of the ellipse</param>
 /// <param name="angle"> The rotation angle in radian for the ellipse</param>
 public Ellipse(PointF center, SizeF size, float angle)
 {
     _box2D = new RotatedRect(center, size, angle);
 }