MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER GRAPHICS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The correct syntax of the ellipse() function is
A
ellipse(int x, int y, int stangle, int endangle, int yradius, int xradius);
B
ellipse(int x, int y, int stangle, int endangle, int xradius, int yradius);
C
ellipse(int y, int x, int stangle, int endangle, int xradius, int yradius);
D
ellipse(int x, int y, int stangle, int endangle, int xradius, int yradius);
Explanation: 

Detailed explanation-1: -Syntax. The ellipse() method creates an elliptical arc centered at (x, y) with the radii radiusX and radiusY . The path starts at startAngle and ends at endAngle, and travels in the direction given by counterclockwise (defaulting to clockwise).

Detailed explanation-2: -To draw a filled ellipse on an image, we use the cv2. ellipse() method. This method accepts different arguments to draw different types of ellipses.

There is 1 question to complete.