函数ellipse

功能:画椭圆

函数原型:

void ellipse(InputOutputArray img, Point center, Size axes,
double angle, double startAngle, double endAngle,
const Scalar& color, int thickness = 1,
int lineType = LINE_8, int shift = 0);

 

img:图像

center:圆心坐标

axes:轴的长度

angle:偏转的角度

startAngle:圆弧起始角的角度

endAngle:圆弧终止角的角度

color:线条的颜色

thickness:线条的粗细程度

lineType:线条的类型

shift:圆心坐标点和轴的精度

 

posted @ 2018-04-17 17:21  c&z  阅读(582)  评论(0编辑  收藏  举报