|
绘制点、线、多边形点、圆:
- Cv2.Circle(op_ImageDraw, ini_Coord.X, ini_Coord.Y, int.Parse(tB_DrawLineWidth.Text),
- color, int.Parse(tB_DrawLineWidth.Text), LineTypes.AntiAlias);
复制代码 线:
- Cv2.Line(op_ImageDraw, ini_Coord.X, ini_Coord.Y,
- TranslateZoomMousePosition(e.Location).X, TranslateZoomMousePosition(e.Location).Y,
- color, int.Parse(tB_DrawLineWidth.Text), LineTypes.AntiAlias);
复制代码
|
|