You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Draws a circle starting at the specified x,y center coordinate with the specified radius and filled with the specified color (using set_color or black if not defined).
136
136
137
-
138
-
Category: TI Draw / Shape
139
-
140
-
141
-
Returns an array / list: [x_start, y_start, radius]
137
+
Args:
138
+
x_start (float): The starting x coordinate.
139
+
y_start (float): The starting y coordinate.
140
+
radius (float): The radius of the circle.
141
+
142
+
Returns:
143
+
list: a list containing the following data: [x_start, y_start, radius]
142
144
"""
145
+
146
+
ifcerr.type_error(float, x_start) ==False: log("Argument 'x_start' has to be type float!", "ERROR", "TI Draw", "Filled Circle")
147
+
ifcerr.type_error(float, y_start) ==False: log("Argument 'y_start' has to be type float!", "ERROR", "TI Draw", "Filled Circle")
148
+
ifcerr.type_error(float, radius) ==False: log("Argument 'radius' has to be type float!", "ERROR", "TI Draw", "Filled Circle")
149
+
143
150
err.type_error(float, "float", x_start)
144
151
err.type_error(float, "float", y_start)
145
152
err.type_error(float, "float", radius)
146
153
154
+
log("Drawing a filled circle from starting point: ( "+str(x_start) +" | "+str(y_start) +" ) with a radius of '"+str(radius) +"'", "INFO", "TI Draw", "Filled Circle")
147
155
print("Drawing filled circle from starting point: ( "+str(x_start) +" | "+str(y_start) +" ) with a radius of '"+str(radius) +"'")
0 commit comments