+ 2
why we r using different variable lik cx cy fr circle.. x y fr rect and x1 y1 fr line???
3 ответов
+ 1
Circle- Cx points the distance from center for x axis and Cy points the distance from center along y axis.. R is the radius of circle
Rectangle - x and y points to the starting position on the screen. Top left corner of rectangle is the starting point.
Line - x1,y1 is the first point on the screen and x2,y2 is the second point. The shortest distance is the line
0
The rect needs the top left corner, while the circle needs the center point, and the line needs 2 points.
These are meant to convey their meaning, so that you will easily know whuch value to enter.
0
leboncoin..fr